Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-IISAppPool

Last Updated: 3/8/2017

SYNOPSIS

Gets configuration information for an IIS Application Pool.

SYNTAX

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

DESCRIPTION

The Get-IISAppPool cmdlet gets information about application pools and their current status and other key information. If a specific application pool or a comma delimited list of application pools are requested, only those whose names are passed as an argument are returned. Otherwise all the application pools are returned.

EXAMPLES

Example 1: Get information about specific app pool(s)

PS C:\> Get-IISAppPool "DefaultAppPool","NewAppPool"
Name                 Status       CLR Ver  Pipeline Mode  Start Mode
----                 ------       -------  -------------  ----------
DefaultAppPool       Started      v4.0     Integrated     OnDemand
NewAppPool           Started      v4.0     Integrated     OnDemand

This command gets the configuration information for the pools DefaultAppPool and NewAppPool.

Example 2: Get information about all application pools

PS C:\> Get-IISAppPool
Name                 Status       CLR Ver  Pipeline Mode  Start Mode
----                 ------       -------  -------------  ----------
DefaultAppPool       Started      v4.0     Integrated     OnDemand
.NET v4.5 Classic    Started      v4.0     Classic        OnDemand
.NET v4.5            Started      v4.0     Integrated     OnDemand
PattiFul             Stopped      v4.0     Integrated     OnDemand

This command gets the configuration information for all application pools.

PARAMETERS

-Name

Specifies the name of the application pool(s) in which the configuration information is returned.

Type: String[]
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

string, string[]

OUTPUTS

Microsoft.Web.Administration.ApplicationPool, Microsoft.Web.Administration.ApplicationPool[]

NOTES

IIS Administration Cmdlets for Windows PowerShell

© 2017 Microsoft