Which application pool is it?

If you are running multiple web sites on your IIS web server you will eventually need to know which worker process is associated with a particular application pool.  It may be for baseline information or troubleshooting but at one point or another you will need to cross reference an application pool to a w3wp worker process. Opening up Task Manager

Read more

Recycling IIS6 and IIS7 Application Pool With Powershell

I recently came across a need to automatically recycle an application pool.  I have a VBScript version in my archive of scripts but I’m trying to convert everything over to PowerShell. Here’s a working PowerShell snippet that works for recycling IIS7.x application pools.  APPPOOLNAME needs to be replaced with the actual name of the application pool and SERVERNAME needs to

Read more