I would like to audit the application pools on an IIS6 server, I want to check which websites relate to each application pool and the .NET version they are running. How can I do this without manually going though the interface and looking at each one in turn?
Iis – How to list which application pool each IIS6 Website is using
iisiis-6windows-server-2003
Related Topic
- IIS6: How to troubleshoot a 404 error in an ASP.NET application
- Is it possible to mix 32- and 64 bit application pools on IIS6
- Iis – How to diagnose website performance/app pool recycling with Windows 2008/IIS7
- Iis – Identify which application pool is using CPU / Memory
- How to change the .NET Framework version of a virtual directory without the ASP.NET tab
Best Answer
Use iisapp.vbs to list app pools:
Unfortunately, unlike in IIS7, the app pools have no idea which .NET version they are running, they are just loading the filter requested by the site, so you have to iterate through the sites and pull the info. This StackOverflow answer has a suggested script for walking the web sites and listing their app pool and .NET versions.
(Script credit to @Kev at StackOverflow)