' Modify an IMAP Service Setting Metabase Property
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