Have you ever had an IIS worker process (w3wp.exe) that was taking up a lot of memory and wanted to know exactly which application pool it was tied to?
Run this script located at C:\WINDOWS\system32 from command prompt:
cscript iisapp.vbs
This will tell you you the process ID of each worker process as well as the application pool ID it is running under. This can help troubleshoot exactly which website or application is causing the memory spike.

Jason Samuel
Product leader, advisor, and international speaker with 27+ years in enterprise end-user computing, security, and cloud. Has deployed infrastructure at Fortune 500 scale across 34 countries. 1 of 3 people globally to hold Citrix CTP + VMware vExpert + VMware EUC Champion concurrently. 200+ articles, 1,000+ reader discussions.