Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify SMTP Outbound Connection PropertiesContent of Modify SMTP Outbound Connection Properties.vbsMD5 Hash: FE8603F20A352C84F69271B4FBDA584F |
||
' Description: Demonstration script that modifies global SMTP outbound connection 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.MaxOutConnections = 500 objItem.MaxOutConnectionsPerDomain = 250 objItem.RemoteSmtpPort = 25 objItem.RemoteTimeout = 900 objItem.Put_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |