Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify a Web Info Metabase PropertyContent of Modify a Web Info Metabase Property.vbsMD5 Hash: DF71D44605C054C66667A376FB9EBC06 |
||
' Description: Demonstration script that modifies a Web info metabase property (ServerConfigSSLAllowEncrypt) on an IIS server.
strComputer = "." Set objWMIService = GetObject _ ("winmgmts:{authenticationLevel=pktPrivacy}\\" _ & strComputer & "\root\microsoftiisv2") Set colItems = objWMIService.ExecQuery _ ("Select * from IIsWebInfoSetting") For Each objItem in colItems objItem.ServerConfigSSLAllowEncrypt = TRUE objItem.Put_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |