Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Stop a Web ServerContent of Stop a Web Server.vbsMD5 Hash: 5D7803BB3CA05336A2E5B59782B489B6 |
||
' Description: Stops an IIS Web server named W3SVC/2142295254.
strComputer = "." Set objWMIService = GetObject _ ("winmgmts:{authenticationLevel=pktPrivacy}\\" _ & strComputer & "\root\microsoftiisv2") Set colItems = objWMIService.ExecQuery _ ("Select * From IIsWebServer Where Name = " & _ "'W3SVC/2142295254'") For Each objItem in colItems objItem.Stop Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |