Recycle IIS Application Pool

As a developer, one can face unavoidable situations to recycle the application pool. "iisreset" is an option. But as "iisreset" is an expensive command, alternatively you can just recycle a particular application pool using the following command-

cscript c:\windows\system32\iisapp.vbs /a "[AppPoolName]" /r

Or  create a batch file for this:

ResetAppPool.bat

cscript c:\windows\system32\iisapp.vbs /a “%1? /r

And to recycle an Application pool, run ResetAppPool.BAT <AppPoolName>