List IIS AppPool processes

List IIS AppPool processes

The problem

How do you view the app pool processes running in IIS?

The Answer

Run the following command from an Admin Console Window: –

c:\windows\System32\inetsrv\appcmd.exe list wp

It will give you the process ID for each app pool and make it easier to find which W3P service to attach Visual Studio to when you have > 1 site running.

Stephen

Hi, my name is Stephen Finchett. I have been a software engineer for over 30 years and worked on complex, business critical, multi-user systems for all of my career. For the last 15 years, I have been concentrating on web based solutions using the Microsoft Stack including ASP.Net, C#, TypeScript, SQL Server and running everything at scale within Kubernetes.