Skip to content

Latest commit

 

History

History
84 lines (59 loc) · 1.87 KB

File metadata and controls

84 lines (59 loc) · 1.87 KB
description external help file Module Name ms.date online version schema title
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
Microsoft.IIS.PowerShell.Provider.dll-Help.xml
WebAdministration
12/27/2016
2.0.0
Stop-WebAppPool

Stop-WebAppPool

SYNOPSIS

Stops an application pool.

SYNTAX

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

DESCRIPTION

The Stop-WebAppPool cmdlet stops the specified application pool.

EXAMPLES

Example 1: Stop an application pool

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

This command stops the application pool named DefaultAppPool.

PARAMETERS

-Name

Specifies the name of the application pool to stop.

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

RELATED LINKS

New-WebAppPool

Remove-WebAppPool

Restart-WebAppPool

Start-WebAppPool