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