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 *