Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List Services that Can be PausedContent of List Services that Can be Paused.vbsMD5 Hash: 1FFA0B15FA7411A69FF46872FE1AC44D |
||
' Description: Returns a list of services that can be paused.
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colServices = objWMIService.ExecQuery _ ("Select * from Win32_Service Where AcceptPause = True") For Each objService in colServices Wscript.Echo objService.DisplayName Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |