Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Start an Application PoolContent of Start an Application Pool.vbsMD5 Hash: D233FCE914CC8DE00F370EBE40BD1D5F |
||
' Description: Demonstration script that starts 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.Start Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |