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

Restart-WebAppPool

Brian Lich|Last Updated: 4/3/2017

SYNOPSIS

Restarts an application pool.

SYNTAX

Restart-WebAppPool [[-Name] <String>] [<CommonParameters>]

DESCRIPTION

The Restart-WebAppPool cmdlet restarts the specified application pool.

EXAMPLES

Example 1: Restart an application pool

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

This command restarts the application pool named DefaultAppPool.

PARAMETERS

-Name

Specifies the name of the application pool to restart.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
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

Start-WebAppPool

Stop-WebAppPool

© 2017 Microsoft