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