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.