Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List Application Pools Recycling PropertiesContent of List Application Pools Recycling Properties.vbsMD5 Hash: 7F6A4AA21356D3F5255BCD9938F567D3 |
||
' Description: Lists recycling properties 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 Wscript.Echo "Periodic Restart Memory: " & _ objItem.PeriodicRestartMemory Wscript.Echo "Periodic Restart PrivateMemory: " & _ objItem.PeriodicRestartPrivateMemory Wscript.Echo "Periodic Restart Requests: " & _ objItem.PeriodicRestartRequests For Each strSchedule in objItem.PeriodicRestartSchedule Wscript.Echo "Periodic Restart Schedule: " & strSchedule Next Wscript.Echo "Periodic Restart Time: " & _ objItem.PeriodicRestartTime Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |