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/

Advertisements

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

  1. You are my aspiration, I own few blogs and infrequently run out from post :).
    “Analyzing humor is like dissecting a frog. Few people are interested and the frog dies of it.” by E.
    B. White.

  2. It’s appropriate time to make a few plans for the long run and it is time to be happy. I’ve learn
    this put up and if I may I desire to suggest you few attention-grabbing things
    or advice. Maybe you can write next articles regarding this article.
    I wish to learn more things approximately it!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s