Uninstall-IisAppPool

Removes an IIS application pool.

Syntax

Uninstall-IisAppPool [-Name] <String> [-WhatIf] [-Confirm] [<CommonParameters>]

Description

If the app pool doesn't exist, nothing happens.

Beginning with Carbon 2.0.1, this function is available only if IIS is installed.

Parameters

Name Type Description Required? Pipeline Input Default Value
Name String

The name of the app pool to remove.

true false
WhatIf SwitchParameter false false
Confirm SwitchParameter false false
CommonParameters This cmdlet supports common parameters. For more information type
Get-Help about_CommonParameters.

EXAMPLE 1

Uninstall-IisAppPool -Name Batcave

Removes/uninstalls the Batcave app pool.