Use the following command line in order to recycle an application pool on IIS 7:
[system drive]:\windows\system32\inetsrv\appcmd recycle apppools /apppool.name:”Your Application Pool Name”
Works like a charm.
See you,
Amadeu.
Image may be NSFW.
Clik here to view.

Clik here to view.
