Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify SMTP Authentication PropertiesContent of Modify SMTP Authentication Properties.vbsMD5 Hash: 7A6DA33D7A4B21868B32626E4D17C261 |
||
' Description: Demonstration script that modifies global SMTP authentication metabase properties on a computer running IIS 6.0.
strComputer = "." Set objWMIService = GetObject _ ("winmgmts:{authenticationLevel=pktPrivacy}\\" _ & strComputer & "\root\microsoftiisv2") Set colItems = objWMIService.ExecQuery _ ("Select * from IIsSmtpServiceSetting") For Each objItem in colItems objItem.AuthAnonymous = True objItem.AuthBasic = True objItem.AuthNTLM = True objItem.SaslLogonDomain = "fabrikam.com" objItem.Put_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |