Otter Documentation

iis - Recycle App Pool

  • Last Modified: 2019-07-30

This is generated from the built-in components of Otter 2.2, 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(
	[WaitForStartedStatus: <true/false>],
	Name: <text>
);

Arguments:

Name Format Script Usage Usage Notes
Wait for started status
true/false
WaitForStartedStatus
App pool (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;

Is this documentation incorrect or incomplete? Help us by contributing!

This documentation is licensed under CC-BY-SA-4.0 and stored in GitHub.

Generated from commit 7dbbedf1 on master