How to Recycle the IIS Default Application from the Command Prompt

Sam Rueby .NET Tips, Web Development Leave a Comment

I got sick of navigating to Internet Information Services Manager just to manually recycle the application pool on my development machine. I threw the following command into a batch script.

C:\Windows\System32\inetsrv\appcmd recycle apppool DefaultAppPool