mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-10 05:17:44 +02:00
Improve the done output
This commit is contained in:
@ -40,6 +40,7 @@ try {
|
||||
Remove-Item -Path $Folder.Object.FullName -Force
|
||||
}
|
||||
}
|
||||
"✔️ Done."
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Reference in New Issue
Block a user