Thursday, September 25, 2008 by Nandu
This comes handy while working with Sharepoint:
iisapp.vbs /a “[application pool name]” /r
The iisapp.vbs resides in the C:\Windows\System32 folder and cscript.exe can be used to execute this script.
The Application Pool associated with a Website in IIS can be found by going to:
Run > inetmgr > Internet Information Services > [Computer Name] > Web Sites.
Right click on the website and click on Properties, click on Home Directory tab and the Applicaton Pool name can be found towards the end.
Once the the Application Pool name is known, the application pool can be found in the Application Pools folder above the Web Sites folder.
The App Pool can be started, stopped or restarted from there too. Right click on the App Pool for that.