Want to change the restart time of an application pool? You can do it in the graphical IIS Manager, but if you’re trying to set the time for multiple pools, or on remote servers, why not use PowerShell. To get an application pools current restart time: PS> Get-ItemProperty -Path IIS:\AppPools\DefaultAppPool -Name recycling.periodicRestart.time To change the … Continue reading How to set an application pool restart time in PowerShell
Tag Archives: Application Pool
How to tell which Application pool an IIS worker process belongs to
Recently speaking at a conference where I was presenting an IIS crash course, several attendees came up to me after the session and asked how they could tell which IIS worker process belonged to which application pool. This information is presented in the graphical task manager, but is tricky to find using PowerShell. Because so … Continue reading How to tell which Application pool an IIS worker process belongs to