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

New-WebAppPool

Brian Lich|Last Updated: 4/3/2017

SYNOPSIS

Creates an IIS application pool.

SYNTAX

New-WebAppPool [-Name] <String> [-Force] [<CommonParameters>]

DESCRIPTION

The New-WebAppPool cmdlet creates an Internet Information Services (IIS) application pool.

EXAMPLES

Example 1: Create an IIS application pool

IIS:\> New-WebAppPool -Name "NewAppPool"

This command creates an IIS application pool named NewAppPool.

PARAMETERS

-Force

Forces the command to run without asking for user confirmation.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

Specifies the name of the IIS application pool to create.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
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

Remove-WebAppPool

Restart-WebAppPool

Start-WebAppPool

Stop-WebAppPool

© 2017 Microsoft