> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/new-rasvdihostpool.md).

# New-RASVDIHostPool

## SYNOPSIS

Creates a new VDI Host Pool.

## SYNTAX

```powershell
New-RASVDIHostPool [-Name] <string> [[-SiteId] <uint>] -ProvisioningType {Template | Standalone}
 [-AvailabilityOptions {NoInfrastructure | AvailabilitySet | AvailabilityZone}]
 [-AvailabilityPreferredZone {Zone1 | Zone2 | Zone3}] [-AWSSubnetsIds <List`1>]
 [-ClusterId <string>] [-ClusterName <string>] [-DatastoreIDs <string[]>]
 [-DatastoreSource {Template | Selection}] [-DefaultPowerState {PoweredOn | PoweredOff | Suspended}]
 [-Description <string>] [-DeviceName <string>] [-DomainOrgUnit <string>] [-Duration <uint>]
 [-Enabled <bool>] [-HostName <string>] [-HostsToCreate <uint>] [-MaxHosts <uint>]
 [-MaximumIOPS <ulong>] [-OverrideCluster <bool>] [-OverrideDomainOrgUnit <bool>]
 [-OverrideHighAvailability <bool>] [-OverrideNetwork <bool>] [-OverrideSize <bool>]
 [-OverrideStorage <bool>] [-PreCreatedHosts <uint>] [-Size <uint>] [-SubnetId <string>]
 [-SubnetName <string>] [-TemplateId <uint>] [-TemplateTagId <uint>] [-TemplateVersionId <uint>]
 [-Throughput <ulong>] [-VMSize <string>] [-VolumeType {gp2 | gp3 | io1 | io2 | standard}]
 [<CommonParameters>]
```

## DESCRIPTION

Creates a new VDI Host Pool. Individual members can be added to the VDI host pool using the Add-RASVDIHostPoolMember cmdlet.

## EXAMPLES

### Example 1

```powershell
New-RASVDIHostPool "My VDI Host Pool"
```

Creates a new VDI Host Pool with the specified name.

## PARAMETERS

### -Name

The name of the target VDI Host Pool.

This must be the actual VDI Host Pool name used in the RAS farm.

```yaml
Type: string
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -SiteId

Site ID in which to modify the specified VDI Host Pool.

If the parameter is omitted, the site ID of the Licensing Server will be used.

```yaml
Type: uint
Required: False
Position: 1
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
```

### -Description

A user-defined VDI Host Pool description.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Enabled

Enable or disable the VDI Host Pool upon creation.

If the parameter is omitted, the VDI Host Pool is initialised as Disabled.

```yaml
Type: bool
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -ProvisioningType

The Host Pool Provisioning type

Possible values: Template, Standalone

Type reference: [ProvisioningType](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/provisioningtype.md)

```yaml
Type: ProvisioningType
Required: True
Position: Named
Default value: Template
Accept pipeline input: False
Accept wildcard characters: False
```

### -TemplateId

Template ID

```yaml
Type: uint
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
```

### -TemplateVersionId

Template Version ID

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -TemplateTagId

Template Tag ID

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -MaxHosts

The maximum number of hosts that can be created from the template.

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PreCreatedHosts

The maximum pre-created hosts.

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -HostName

The VM name format. All VMs created from the template will have this name with %ID:N:S% replaced.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -DefaultPowerState

The Default Power State

Possible values: PoweredOn, PoweredOff, Suspended

Type reference: [DefaultPowerState](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/defaultpowerstate.md)

```yaml
Type: DefaultPowerState
Required: False
Position: Named
Default value: PoweredOn
Accept pipeline input: False
Accept wildcard characters: False
```

### -Duration

The duration (in seconds) before the unused hosts are deleted (0 = Never)

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -HostsToCreate

The number of hosts that will be created after template creation process has finished. These desktops are created only once.

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -DatastoreSource

Datastore Source.

Possible values: Template, Selection

Type reference: [DatastoreSourceType](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/datastoresourcetype.md)

```yaml
Type: DatastoreSourceType
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -DatastoreIDs

Datastore IDs.

```yaml
Type: string[]
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -OverrideStorage

Specifications: Whether Override Storage is Enabled or not. (Override Storage)

Available to Azure/AWS

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -OverrideSize

Specifications: Whether Override Size is Enabled or not.

Available when host pool is templated from AWS or Azure.

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -VMSize

Specifications: VMSize which will override the size specified in template properties.

Available when host pool is templated from AWS or Azure.

Example: Standard\_B2s

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -DeviceName

Device name. (Available for AWS Provider)

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -VolumeType

Volume type. (Available for AWS Provider)

Possible values: gp2, gp3, io1, io2, standard

Type reference: [VolumeType](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/volumetype.md)

```yaml
Type: VolumeType
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Size

Size (GiB). (Available for AWS Provider)

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -MaximumIOPS

Maximum IOPS. (Available for AWS Provider)

```yaml
Type: ulong
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Throughput

Throughput (MB/s). (Available for AWS Provider)

```yaml
Type: ulong
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -OverrideDomainOrgUnit

Whether Override Domain Org Unit is enabled or not. (OverrideDomainOrgUnit)

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -DomainOrgUnit

Domain Organization unit

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -OverrideCluster

Specifications: Whether Override Cluster is Enabled or not.

Available when host pool is templated from NutanixPC.

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ClusterName

Specifications: Cluster name where desktop VMs will be created.

Available when host pool is templated from NutanixPC.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ClusterId

Specifications: The ID of a cluster where desktop VMs will be created.

Available when host pool is templated from NutanixPC.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -OverrideNetwork

Specifications: Whether Override Network is Enabled or not.

Available when host pool is templated from NutanixPC or AWS.

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -SubnetId

Specifications: Subnet Id.

Available when host pool is templated from NutanixPC.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -SubnetName

Specifications: Subnet name.

Available when host pool is templated from NutanixPC.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AWSSubnetsIds

Specifications: Add or remove Amazon Web Service Subnets.

Available when host pool is templated from AWS.

```yaml
Type: List`1
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -OverrideHighAvailability

Whether to override high availability options.

Available to Azure

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AvailabilityOptions

Availability Options.

Available to Azure

Possible values: NoInfrastructure, AvailabilitySet, AvailabilityZone

Type reference: [HighAvailability](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/highavailability.md)

```yaml
Type: HighAvailability
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AvailabilityPreferredZone

Availability Preferred Zone.

Available to Azure

Possible values: Zone1, Zone2, Zone3

Type reference: [PreferredZone](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/preferredzone.md)

```yaml
Type: PreferredZone
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](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### None

## OUTPUTS

### [VDIHostPool](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/vdihostpool.md)

## RELATED LINKS

* [Get-RASVDIHostPool](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/get-rasvdihostpool.md)
* [Set-RASVDIHostPool](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/set-rasvdihostpool.md)
* [Remove-RASVDIHostPool](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/remove-rasvdihostpool.md)
* [Add-RASVDIHostPoolMember](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/add-rasvdihostpoolmember.md)
* [Remove-RASVDIHostPoolMember](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/remove-rasvdihostpoolmember.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/new-rasvdihostpool.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
