How-To Sketch

Recycle IIS AppPool from command line

Ann Lynnworth Oct 2008

article image

Here is a BAT file for recycling the IIS AppPool from the command line, i.e. without needing to run IIS Manager. You may need to adjust the path to Windows and the name of the AppPool. The program this uses, cscript.exe, is included with Windows.

cscript.exe c:\windows\system32\iisapp.vbs /a DefaultAppPool /r
pause

Enjoy!

Article Keywords:

Company publishing this blog in 2022: HREF Tools Corp. based in Wilmington, Delaware USA Privacy