May 27 2011

Recycle application pool in Windows Server 2008

Category: Sharepoint 2010 | SSRS 2008abhishek.shukla @ 12:12 | |

I usually use batch scripts for postbuild events when I develop SharePoint Features etc. since an application pool recycle is a lot faster than doing an iisreset.

Unfortunately my normal consome command to recycle an application pool no longer works.

I used:

c:\windows\system32\iisapp.vbs /a “SharePoint – 80″ /r

The new command to use in Windows Server 2008 is:

C:\Windows\System32\inetsrv\appcmd.exe recycle apppool “SharePoint – 80″

 

Tags: , ,