Recycle an Application Pool from the Command Line

Sometimes it is a whole lot nicer to recycle the specific Application Pool of concern rather than recycling IIS with “iisreset”.

There is a handy script in %windir%\system32 called iisapp.vbs and you can just run :

D:\>C:\WINDOWS\System32\iisapp.vbs /a “My Pool” /r

Connecting to server …Done.

Application pool ‘My Pool’ recycled successfully.

This entry was posted in IIS. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>