Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Pause All Print JobsContent of Pause All Print Jobs.vbsMD5 Hash: 2CE19C103DD8540FBE94EBE4ADC44B3E |
||
' Description: Pauses all the print jobs on a print server.
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colPrintJobs = objWMIService.ExecQuery _ ("Select * from Win32_PrintJob") For Each objPrintJob in colPrintJobs objPrintJob.Pause Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |