---
title: "Stop App Pool"
---
Stops an IIS app pool.
IIS::Stop-AppPool(
	[WaitForStoppedStatus: <true/false>],
	Name: <text>
);
| Name | Format | Script Usage | Usage Notes | 
|---|---|---|---|
| Wait for stopped status | true/false | WaitForStoppedStatus | |
| ☆ App pool (default) | text | Name | The name of the application pool to operate on. This argument is required. | 
# 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;