Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify Local Computer PropertiesContent of Modify Local Computer Properties.vbsMD5 Hash: A7B806A0B26D2DC9A859C15E5C7DBF57 |
||
' Description: Demonstration script that modifies IIS local computer properties.
strComputer = "." Set objWMIService = GetObject _ ("winmgmts:{authenticationLevel=pktPrivacy}\\" _ & strComputer & "\root\microsoftiisv2") Set colItems = objWMIService.ExecQuery _ ("Select * from IIsComputerSetting") For Each objItem in colItems objItem.EnableEditWhileRunning = 1 objItem.EnableHistory = 1 objItem.MaxHistoryFiles = 50 objItem.Put_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |