Get-WebAppPoolState

Gets the run-time state of an IIS application pool.

Syntax

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

Description

The Get-WebAppPoolState cmdlet gets the run-time state of an Internet Information Services (IIS) application pool.

Examples

Example 1: Get the run-time state of the DefaultAppPool

IIS:\> Get-WebAppPoolState -Name "DefaultAppPool"
Value

-----

Started

This command gets the run-time state of the DefaultAppPool.

Optional Parameters

-Name

Specifies the name of the application pool for which the state is returned.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False