How to retrieve a list of Application Pools and their configured identities on your IIS box.

I wrote this script which will give you a list of Application pools defined on your IIS 6.x box and the configured identities. Optionally, it can also enumerate the list of applications or virtual directories that are configured to run under those app pools. Although, this script can run remotely, but I was getting access denied messages on some boxes, so I recommend running it locally under and admin account.

Download the script –> Here

Usage :

 

IISEnumAppPools LOCALHOST

IISEnumAppPools LOCALHOST 1

IISEnumAppPools LOCALHOST > Ouptut.txt

Sample Output :

 

SERVER: localhost
————————————
App Pool : Application1
IDENTITY : Network Service

App Pool : Asp.Net 1.1
IDENTITY : Network Service

App Pool : ASP.net 2.0
IDENTITY : Local System

App Pool : TestPool
IDENTITY :SERVER\Admin

Or

————————
App Pool : LegiantTimeCard
IDENTITY : Network Service

/LM/W3SVC/1/ROOT/LegiantTimecard/

————————
App Pool : OnlineReports
IDENTITY : Network Service

/LM/W3SVC/1/ROOT/OnlineReports/

2 Responses

  1. Hi Nishan,
    Your URL does not funk.

    Download the script –> Here

  2. Hi Nishan,
    The link to the script does not work.

Leave a Reply