Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List SMTP Virtual Server General PropertiesContent of List SMTP Virtual Server General Properties.vbsMD5 Hash: 65E786597D605497E4B798C212435322 |
||
' Description: Returns global SMTP general 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 "Connection Timeout: " & objItem.ConnectionTimeout Wscript.Echo "Don't Log: " & objItem.DontLog Wscript.Echo "Maximum Connections: " & objItem.MaxConnections Wscript.Echo "Name: " & objItem.Name Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |