Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Resume All Paused PrintersContent of Resume All Paused Printers.vbsMD5 Hash: 7EB95163C0FFE8ABDF50F5D534C19645 |
||
' Description: Resumes all the paused printers on a print server.
Const PRINTER_IS_PAUSED = 8 strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colInstalledPrinters = objWMIService.ExecQuery _ ("Select * from Win32_Printer where ExtendedPrinterStatus = 8") For Each objPrinter in colInstalledPrinters ObjPrinter.Resume() Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |