Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify a POP3 Virtual Directory Metabase PropertyContent of Modify a POP3 Virtual Directory Metabase Property.vbsMD5 Hash: 509DB103305C8AE0B016238E05506E3C |
||
' Description: Demonstration script that modifies a global POP3 virtual directory metabase property value (AccessSSLRequireCert) on a computer running IIS 6.0.
strComputer = "." Set objWMIService = GetObject _ ("winmgmts:{authenticationLevel=pktPrivacy}\\" _ & strComputer & "\root\microsoftiisv2") Set colItems = objWMIService.ExecQuery _ ("Select * from IIsPop3VirtualDirSetting") For Each objItem in colItems objItem.AccessSSLRequireCert = TRUE objItem.Put_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |