Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Stop App Pool

Stops an IIS app pool.

Script usage:

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

Arguments:

NameFormatScript UsageUsage Notes
Wait for stopped status
true/false
WaitForStoppedStatus
Default value is "True".
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;