Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify SMTP Virtual Server Delivery PropertiesContent of Modify SMTP Virtual Server Delivery Properties.vbsMD5 Hash: F638171F01287E71B834A84E8F996153 |
||
' Description: Demonstration script that modifies global SMTP virtual directory 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.SmtpLocalDelayExpireMinutes = 1000 objItem.SmtpLocalNDRExpireMinutes = 4000 objItem.SmtpRemoteDelayExpireMinutes = 1000 objItem.SmtpRemoteNDRExpireMinutes = 4000 objItem.SmtpRemoteProgressiveRetry = "60,120,240" objItem.Put_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |