Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify SMTP Virtual Server General PropertiesContent of Modify SMTP Virtual Server General Properties.vbsMD5 Hash: 0807312F9EC5C1413E7D3A6F3CC870A9 |
||
' Description: Demonstration script that modifies global SMTP metabase property values 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.ConnectionTimeout = 1200 objItem.DontLog = True objItem.MaxConnections = 10000 objItem.Put_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |