Recycle IIS AppPool from command line


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!

PS. About the image... the sign includes words in Braille for
blind people.... ah, but how should they find the sign? Humor
from photovisionsbydc.com.
Used with permission.

Comments

Popular Posts