Replaced the done character

This commit is contained in:
Markus Fleschutz
2024-10-01 13:37:53 +02:00
parent c43e787025
commit fd963889d2
600 changed files with 743 additions and 769 deletions

View File

@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Converts a directory into a compressed .ZIP file
.DESCRIPTION
@ -9,7 +9,7 @@
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
@ -28,7 +28,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])"