1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-07-15 11:55:01 +02:00

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

@ -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])"