mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-05 06:48:25 +02:00
Update remove-print-jobs.ps1
This commit is contained in:
parent
946a037624
commit
4e13442eef
@ -20,7 +20,7 @@ try {
|
|||||||
Remove-PrintJob -InputObject $printjob
|
Remove-PrintJob -InputObject $printjob
|
||||||
}
|
}
|
||||||
|
|
||||||
"✔️ removed all jobs from all printers"
|
"✔️ all print jobs removed"
|
||||||
exit 0
|
exit 0
|
||||||
} catch {
|
} catch {
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
Loading…
Reference in New Issue
Block a user