Checks if an app pool exists.
Test-IisAppPool [-Name] <String> [<CommonParameters>]
Returns True
if an app pool with Name
exists. False
if it doesn't exist.
Beginning with Carbon 2.0.1, this function is available only if IIS is installed.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Name | String | The name of the app pool. |
true | false |
Test-IisAppPool -Name Peanuts
Returns True
if the Peanuts app pool exists, False
if it doesn't.