How to Recycle an IIS Application Pool Using a Command Line


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.

Advertisements

One Response to How to Recycle an IIS Application Pool Using a Command Line

  1. tucaz says:

    Hi Amadeu!

    You can also use WebAdministration CmdLets of Powershell like the sample here -> http://technet.microsoft.com/en-us/library/ee790580.aspx

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: