Otter Documentation

iis - Recycle App Pool

  • Last Modified: 2018-09-21

This is generated from the built-in components of Otter 2.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] > Documentation within your Otter instance to see exactly what operations are available.

Recycle App Pool

Recycles an application pool.

Operation type:

Executing - this operation will perform a specified action or actions on a remote server.

Script usage:

IIS::Recycle-AppPool <text>;

Arguments:

Name Format Script Usage Usage Notes
Name (default)
text
Name
The name of the application pool to operate on. This argument is required.

Example:

# stops the BuildMaster application pool 
IIS::Stop-AppPool BuildMasterAppPool;

# starts the BuildMaster application pool 
IIS::Start-AppPool BuildMasterAppPool;

# recycles the BuildMaster application pool 
IIS::Recycle-AppPool BuildMasterAppPool;

Have a question? Try the Q&A Forum

Our documentation is now Open Source and on GitHub. We highly encourage our users to contribute and get involved! .