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.