Ever wanted to know which application pool was behind that one w3p.exe process that always clogs up your Windows 2003 server?

Now you can by running a simple IIS script.
On the console, enter the following command:

cscript %systemroot%system32iisapp.vbs

This script wil then print out a list of all the running application pools and their corresponding process ID.

I made a batch file for on my desktop that paused the script so that the popupped window doesn’t disappear straight away.