AppCmd introduction and examples

The AppCmd command is your one-stop-shop for administering Windows Server IIS web servers. In combination with WinRM it’s your Swiss Army knife for your daily routine. This post introduces appcmd and provides you with a lot of helpful appcmd examples. Did this post helped you solve a problem? Or dit you find it interesting? Support…

Continue reading AppCmd introduction and examples

Application Pool Specific Time Interval recycle settings

Set IIS Application Pool recycle defaults to Specific Times, not Regular Time Interval

By default, an IIS application pool (or “AppPool”) recycles on a regular time interval of 1740 minutes, or 29 hours. One reason for this time interval is that application pools don’t recycle at the same moment every day (every day at 07.00 for example). However, sometimes you want to change this regular time interval to…

Continue reading Set IIS Application Pool recycle defaults to Specific Times, not Regular Time Interval

Conditionally start Application Pools on remote IIS web servers

Start all stopped application pools that have Autostart set to true Start stopped application pools with AppCmd or PowerShell in a loop. In my routine, I occasionally have to start multiple website application pools when they are in a stopped state. On more than one web server. Being a lazy system administrator, I find it…

Continue reading Conditionally start Application Pools on remote IIS web servers