New-WebAppPool

Creates a new IIS application pool.

Syntax

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

Description

Creates a new IIS application pool.

Examples

-------------- EXAMPLE 1: Create new IIS Application Pool --------------

IIS:\>New-WebAppPool NewAppPool

This example creates a new IIS application pool named "NewAppPool."

Required Parameters

-Name

The name of the IIS application pool to create.

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

Optional Parameters

-Force

Forces the operation without prompting

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