Updated the manuals

This commit is contained in:
Markus Fleschutz
2024-11-08 12:35:11 +01:00
parent 53eb60baa3
commit 54635c32da
636 changed files with 5289 additions and 2027 deletions

View File

@ -8,7 +8,7 @@ IMPORTANT NOTE: Make sure the target path is correct because the content gets re
Parameters
----------
```powershell
PS> ./sync-folder.ps1 [[-sourcePath] <String>] [[-targetPath] <String>] [<CommonParameters>]
/home/markus/Repos/PowerShell/scripts/sync-folder.ps1 [[-sourcePath] <String>] [[-targetPath] <String>] [<CommonParameters>]
-sourcePath <String>
Specifies the path to the source folder
@ -88,7 +88,7 @@ try {
if ($lastExitCode -gt 3) { throw 'Robocopy failed.' }
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
"✔️ Synced 📂$sourcePath to 📂$targetPath in $elapsed sec"
" Synced 📂$sourcePath to 📂$targetPath in $elapsed sec"
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
@ -96,4 +96,4 @@ try {
}
```
*(generated by convert-ps2md.ps1 using the comment-based help of sync-folder.ps1 as of 08/15/2024 09:50:54)*
*(generated by convert-ps2md.ps1 using the comment-based help of sync-folder.ps1 as of 11/08/2024 12:34:55)*