Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List Services that Can be StoppedContent of List Services that Can be Stopped.vbsMD5 Hash: D2CD8E61A27D3F95126467A32F209EDA |
||
' Description: Returns a list of services that can be stopped.
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colServices = objWMIService.ExecQuery _ ("Select * from Win32_Service Where AcceptStop = 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 :: |