Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify an IMAP Server Setting Metabase PropertyContent of Modify an IMAP Server Setting Metabase Property.vbsMD5 Hash: 69A137B46447E4D653D9F19C625EEFCA |
||
' Description: Demonstration script that changes the DefaultLogonDomain value for all the IMAP servers on a computer running IIS 6.0.
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 | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |