Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

MWA - Find application pools running websites and applications

$
0
0
Hi all - I am new new MWA and have been trying to develop something to take an inventory of sorts of different website configurations on my servers. I've been able to find the websites and applications/virtual directories underneath them easy enough, but I am having trouble relating them to the application pools. Once you have a web site, what is the best way to find out what application pool is being used to run that site? Or vise versa, if I do something like the code below to get all the application pools, is there a way to traverse back and find out what is running on that application pool? Any help would be appreciated. Thanks! foreach (ApplicationPool ap in applicationPoolsCollection) { //FIND EVERYTHING RUNNING WITHIN THIS APP POOL }

Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>