Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify an Application Pools Metabase SettingContent of Modify an Application Pools Metabase Setting.vbsMD5 Hash: 9F763A2281E84EE1348CA902EDBDEDF5 |
||
' Description: Demonstration script that modifies an application pools metabase setting (RapidFailProtection).
strComputer = "." Set objWMIService = GetObject _ ("winmgmts:{authenticationLevel=pktPrivacy}\\" _ & strComputer & "\root\microsoftiisv2") Set colItems = objWMIService.ExecQuery _ ("Select * from IIsApplicationPoolsSetting") For Each objItem in colItems objItem.RapidFailProtection = TRUE objItem.Put_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |