Improve output of clear-recycle-bin.ps1

This commit is contained in:
Markus Fleschutz 2021-05-02 11:25:54 +02:00
parent f12b44fb48
commit b098205d9c

View File

@ -7,6 +7,7 @@
try {
Clear-RecycleBin -Confirm:$false
"✔️ recycle bin have been emptied"
exit 0
} catch {
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"