Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify Application Pools Identity PropertiesContent of Modify Application Pools Identity Properties.vbsMD5 Hash: F5DBC2C054BC6A11DC828C3CE214B509 |
||
' Description: Demonstration script that modifies the user name and password for IIS application pools.
strComputer = "." Set objWMIService = GetObject _ ("winmgmts:{authenticationLevel=pktPrivacy}\\" _ & strComputer & "\root\microsoftiisv2") Set colItems = objWMIService.ExecQuery _ ("Select * from IIsApplicationPoolsSetting") For Each objItem in colItems objItem.WAMUserName = "TestUser" objItem.WAMUserPass = "ur^354Hdf" objItem.Put_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |