' Modify an IMAP Server Setting Metabase Property
strComputer = "."
Set objWMIService = GetObject _
("winmgmts:{authenticationLevel=pktPrivacy}\\" _
& strComputer & "\root\microsoftiisv2")
Set colItems = objWMIService.ExecQuery _
("Select * from IIsIMAPServerSetting")
For Each objItem in colItems
objItem.DefaultLogonDomain = "fabrikam"
objItem.Put_
Next