Tag Archives: DefaultAppPool

How to set an application pool restart time in PowerShell

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