Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Stop an Application PoolContent of Stop an Application Pool.vbsMD5 Hash: 39D17855EF53D1C315526F9ECB29837B |
||
' Description: Demonstration script that stops the MSSharePointAppPool application pool.
strComputer = "." Set objWMIService = GetObject _ ("winmgmts:{authenticationLevel=pktPrivacy}\\" _ & strComputer & "\root\microsoftiisv2") Set colItems = objWMIService.ExecQuery _ ("Select * From IIsApplicationPool Where Name = " & _ "'W3SVC/AppPools/MSSharePointAppPool'") For Each objItem in colItems objItem.Stop Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |