Using PowerShell 3.0 on Windows 8 to find the Process Id (PID) of an Application Pool

With the release of Windows 8 Server comes a new version of PowerShell.  You can check which version of PowerShell you are using by executing the command show in Figure 1.

Figure 1, Which version of PowerShell am I using

To get a list of application pools existing on the web server enter the following shown in Figure 2.

Figure 2, How to list the application pools using PowerShell 3.0

To get the process id of the application pool, execute the command shown in Figure 3.

Figure 3, how to get the process id (PID) of an application pool using PowerShell 3.0

Then, if required you can use that PID in combination with ProcDump to create a memory dump for analysis.



Comments (2)

  1. rms says:

    Great. Powershell is very easy to use and poweful

  2. I like PowerShell, need to spend more time on it though, especially the Azure PowerShell tools, they are very powerful and pretty friendly….but I really am more of a GUI guy 🙂

Skip to main content