Verify Application Pool Status

Checks the status of all IIS application pools, and restarts any applications that have stopped.

5 Star
Add to favorites
E-mail Twitter Digg Facebook
  • Script permissions
    1 Posts | Last post October 30, 2015
    • Hello
      Can someone tell me what permissions does a user need to run this script successfully?
  • Script is not working
    2 Posts | Last post October 22, 2014
    • this script is working in IIS 6.0 (windows server 2003) but its not working in IIS 7 or later(windows server 2008). Please advice.
    • seems to be correct
  • Applicationpool identity
    2 Posts | Last post February 25, 2010
    • This script is splendid. For my own use I need to add the identity + password configured on the application pool to send to the audit departement of my company.
      Any idea how to do this ?
    • Hi,
      Found it myself :-)
      option explicit
      dim objAppPools, objAppPool
      Set objAppPools = GetObject("IIS://localhost/W3SVC/AppPools")
      for each objAppPool in objAppPools
      WScript.echo objAppPool.Name