Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List SMTP Authentication PropertiesContent of List SMTP Authentication Properties.vbsMD5 Hash: BF050918E4035965705CAA3FC9181804 |
||
' Description: Displays the global SMTP authentication metabase property values for 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 Wscript.Echo "Authentication Anonymous: " & objItem.AuthAnonymous Wscript.Echo "Authentication Basic: " & objItem.AuthBasic Wscript.Echo "Authentication NTLM: " & objItem.AuthNTLM Wscript.Echo "Sasl Logon Domain: " & objItem.SaslLogonDomain Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |