Get-WebAppPoolState
Gets the run-time state of an IIS application pool.
Syntax
Default (Default)
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.
Parameters
-Name
Specifies the name of the application pool for which the state is returned.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 0 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.