Get-IisAppPool

Gets a Microsoft.Web.Administration.ApplicationPool object for an application pool.

Syntax

Get-IisAppPool [-Name] <String> [<CommonParameters>]

Description

Use the Microsoft.Web.Administration API to get a .NET object for an application pool.

Related Commands

Parameters

Name Type Description Required? Pipeline Input Default Value
Name String The name of the application pool to return. true false

Return Values

Microsoft.Web.Administration.ApplicationPool.

EXAMPLE 1

Get-IisAppPool -Name 'Batcave'

Gets the Batcave application pool.

EXAMPLE 2

Get-IisAppPool -Name 'Missing!'

Returns null since, for purposes of this example, there is no Missing~ application pool.