Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify a Web Server Metabase PropertyContent of Modify a Web Server Metabase Property.vbsMD5 Hash: B349AB474BCBA90C7C43DF498D242FC3 |
||
' Description: Demonstration script that modifies a Web server property (PasswordExpirePrenotifyDays) in the IIS metabase. This script modifies the metabase for a Web server named W3SVC/1.
strComputer = "LocalHost" Set objIIS = GetObject("IIS://" & strComputer & "/W3SVC/1") objIIS.PasswordExpirePrenotifyDays = 10 objIIS.SetInfo | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |