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

Start-WebAppPool

Last Updated: 3/8/2017

SYNOPSIS

Starts an application pool.

SYNTAX

Start-WebAppPool [[-Name] <String>] [-Passthru] [<CommonParameters>]

DESCRIPTION

The Start-WebAppPool cmdlet starts the specified application pool.

EXAMPLES

Example 1: Start an application pool

IIS:\> Start-WebAppPool -Name "DefaultAppPool"

This command starts the application pool named DefaultAppPool.

Example 2: Start stopped application pools

IIS:\> Get-ChildItem IIS:\AppPools | where {$_.state -eq "Started"} | Start-WebAppPool

This command starts the application pools that are currently stopped.

PARAMETERS

-Name

Specifies the name of the application pool to start.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Passthru

Passes an object that represents the application pool to the pipeline.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
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

OUTPUTS

NOTES

New-WebAppPool

Remove-WebAppPool

Restart-WebAppPool

Stop-WebAppPool

© 2017 Microsoft