My colleague, Carlos Fernandez, sent me this CSCRIPT command for recycling the an IIS application pool:
%windir%\system32\cscript.exe c:\windows\system32\iisapp.vbs /a "SharePoint – 80" /r
Tired of manually recycling the app pool each time you make a code change to your SharePoint web part? No problem, add the following command to the post build events in Visual Studio.
Archive for November, 2008
Recycle IIS App Pool from Script
Posted in Everything, Software Development, tagged ASP.NET, Microsoft SharePoint on November 7, 2008 | 1 Comment »