Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Application  Pools  Recycling  Properties  

 Content of List Application Pools Recycling Properties.vbs
MD5 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 ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a