Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Pause a Web ServerContent of Pause a Web Server.vbsMD5 Hash: F95F321D1A8D6753D1E209701DB389CA |
||
' Description: Pauses 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.Pause Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |