Clear Print Queues
Anyone got a copy of the script ClearPrintQueue.wsf? I think it was on a CD that came with a Microsoft administrator handbook. Have found references to it on the net but not the file itself. It allows you to delete all print jobs on specified computers which I want to do as a schedule at the end of each day to save me another job.
I just use this:
With the prnqctl.vbs file (attached).
c:\windows\system32\cscript prnqctl.vbs -x -s servername -p "Printer/Queue Name"
I put it/them in a batch file and run it as a sceduled job or whenever I need it.