Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify an IMAP Virtual Directory Metabase PropertyContent of Modify an IMAP Virtual Directory Metabase Property.vbsMD5 Hash: 8664422ECC37A949258D483D07BC9170 |
||
' Description: Demonstration script that changes the AccessSource global metabase property for IMAP virtual directories on a computer running IIS 6.0.
strComputer = "." Set objWMIService = GetObject _ ("winmgmts:{authenticationLevel=pktPrivacy}\\" _ & strComputer & "\root\microsoftiisv2") Set colItems = objWMIService.ExecQuery _ ("Select * from IIsIMAPVirtualDirSetting") For Each objItem in colItems objItem.AccessSource = FALSE objItem.Put_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |