Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7947955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:34:55+00:00 2026-06-04T01:34:55+00:00

When looking in the IIS 7.5 manager > application pools, The last column lists

  • 0

When looking in the IIS 7.5 manager > application pools, The last column lists “Applications”. This column shows the number of application pools / websites this appPool is associated with.

I am trying to figure out how to query this column / information using Powershell. The end goal here is to have a script that I could run that would tell me if any applicaiton pool is being used for more than 1 website or app.

I am unable to find how to query this information, when running:

get-itemproperty IIS:\AppPools\(AppPoolName) | format-list *

I dont see this property. Im not sure that this column is a property, if not, is there a best way to check if AppPools are being used for more than 1 website / applicaiton?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T01:34:57+00:00Added an answer on June 4, 2026 at 1:34 am

    Wish I would have seen your post earlier, this is what I eventually came up with:

    $SiteApps = get-item IIS:\Sites* $arraySize = ($SiteApps.count -1) 
    $i = 0 
    $t = 0 
    for ($i=0; $i -le $arraySize; $i ++) # start at the beg of the array
    { 
    for ($t=($i+1); $t -le $arraySize; $t++) 
    {
    if ($siteApps[$i].applicationpool -eq $siteApps[$t].applicationpool) 
    {
    $web1 = $siteApps[$i].name 
    $webappPool = $siteApps[$i].applicationpool 
    $web2 = $siteApps[$t].name $answer = $answer + "The website "$web1" is sharing the AppPool "webAppPool" with website "$web2". " 
    }
    }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Looking at number of resources I've found out this weird recommendation. Or to quote
I have been looking at this problem for the last couple of days and
I have an MVC application that is shared by many websites in IIS, but
I'm looking into to having IIS doing authentication in an application being executed on
I have a asp.net 3.5 application hosted on IIS 7.0. I'm looking for a
Looking for advice on framework and approach for building a modular web application. Primary
Looking back at my past projects I often encounter this one: A client or
I've been looking for IIS based solutions for comet/push/reverse-ajax pages, and came upon asynchronous
what method/algorithm does iis 7 use to generate etags. I'm looking for exact, not
I'm looking for suggestions on how to trouble a weird 500 error in IIS

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.