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

@ -6,7 +6,7 @@ This PowerShell script creates a new compressed .ZIP file from a directory (incl
Parameters
----------
```powershell
PS> ./convert-dir2zip.ps1 [[-dirPath] <String>] [[-zipPath] <String>] [<CommonParameters>]
/home/markus/Repos/PowerShell/scripts/convert-dir2zip.ps1 [[-dirPath] <String>] [[-zipPath] <String>] [<CommonParameters>]
-dirPath <String>
Specifies the path to the directory
@ -35,7 +35,7 @@ Example
-------
```powershell
PS> ./convert-dir2zip.ps1 C:\Windows Win.zip
Converted into compressed Win.zip in 291s.
Converted into compressed Win.zip in 291s.
```
@ -61,7 +61,7 @@ Script Content
Specifies the path to the target .ZIP file (default is dirPath.zip)
.EXAMPLE
PS> ./convert-dir2zip.ps1 C:\Windows Win.zip
✔️ Converted into compressed Win.zip in 291s.
Converted into compressed Win.zip in 291s.
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@ -80,7 +80,7 @@ try {
Compress-Archive -path $dirPath -destinationPath $zipPath
[int]$elapsed = $StopWatch.Elapsed.TotalSeconds
"✔️ Converted into compressed $zipPath in $($elapsed)s."
" Converted into compressed $zipPath in $($elapsed)s."
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
@ -88,4 +88,4 @@ try {
}
```
*(generated by convert-ps2md.ps1 using the comment-based help of convert-dir2zip.ps1 as of 08/15/2024 09:50:47)*
*(generated by convert-ps2md.ps1 using the comment-based help of convert-dir2zip.ps1 as of 11/08/2024 12:34:48)*