New-Web
App
Pool
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.
Required Parameters
-Name
Specifies 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 command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |