Scenarios
- Every AppPool creates W3WP.EXE process however when you are debugging through visual studio with IIS server having too many websites and app pools and you are challenged to find the right W3WP.EXE process to attach so that code debugging can be done against respective apppool W3WP.EXEIn IIS 6 (Windows 2003)
%windir%\system32\
c:\Windows\System32> iisapp.vbs
In IIS 7 (Windows 2008) and IIS 7.5 (Windows 2008 R2)
c:\Windows\System32\inetsrv>appcmd list wp
- List the web sites on your IIS server
c:\Windows\System32\inetsrv>appcmd list sites
- Application pools on your IIS server
c:\Windows\System32\inetsrv>appcmd list appPools