Otter Documentation

iis - Stop App Pool

  • Last Modified: 2018-11-09

This is generated from the built-in components of Otter 2.1, 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.

Stop App Pool

Stops an application pool.

Operation type:

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

Script usage:

IIS::Stop-AppPool(
	[WaitForStoppedStatus: <true/false>],
	Name: <text>
);

Arguments:

Name Format Script Usage Usage Notes
Wait for stopped status
true/false
WaitForStoppedStatus
Name (default)
text
Name
The name of the application pool to operate on. This argument is required.

See also:

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! .