Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-RASVDIHostPool

SYNOPSIS

Creates a new VDI Host Pool.

SYNTAX

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

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.

-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.

-Description

A user-defined VDI Host Pool description.

-Enabled

Enable or disable the VDI Host Pool upon creation.

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

-ProvisioningType

The Host Pool Provisioning type

Possible values: Template, Standalone

Type reference: ProvisioningType

-TemplateId

Template ID

-TemplateVersionId

Template Version ID

-TemplateTagId

Template Tag ID

-MaxHosts

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

-PreCreatedHosts

The maximum pre-created hosts.

-HostName

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

-DefaultPowerState

The Default Power State

Possible values: PoweredOn, PoweredOff, Suspended

Type reference: DefaultPowerState

-Duration

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

-HostsToCreate

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

-DatastoreSource

Datastore Source.

Possible values: Template, Selection

Type reference: DatastoreSourceType

-DatastoreIDs

Datastore IDs.

-OverrideStorage

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

Available to Azure/AWS

-OverrideSize

Specifications: Whether Override Size is Enabled or not.

Available when host pool is templated from AWS or Azure.

-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

-DeviceName

Device name. (Available for AWS Provider)

-VolumeType

Volume type. (Available for AWS Provider)

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

Type reference: VolumeType

-Size

Size (GiB). (Available for AWS Provider)

-MaximumIOPS

Maximum IOPS. (Available for AWS Provider)

-Throughput

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

-OverrideDomainOrgUnit

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

-DomainOrgUnit

Domain Organization unit

-OverrideCluster

Specifications: Whether Override Cluster is Enabled or not.

Available when host pool is templated from NutanixPC.

-ClusterName

Specifications: Cluster name where desktop VMs will be created.

Available when host pool is templated from NutanixPC.

-ClusterId

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

Available when host pool is templated from NutanixPC.

-OverrideNetwork

Specifications: Whether Override Network is Enabled or not.

Available when host pool is templated from NutanixPC or AWS.

-SubnetId

Specifications: Subnet Id.

Available when host pool is templated from NutanixPC.

-SubnetName

Specifications: Subnet name.

Available when host pool is templated from NutanixPC.

-AWSSubnetsIds

Specifications: Add or remove Amazon Web Service Subnets.

Available when host pool is templated from AWS.

-OverrideHighAvailability

Whether to override high availability options.

Available to Azure

-AvailabilityOptions

Availability Options.

Available to Azure

Possible values: NoInfrastructure, AvailabilitySet, AvailabilityZone

Type reference: HighAvailability

-AvailabilityPreferredZone

Availability Preferred Zone.

Available to Azure

Possible values: Zone1, Zone2, Zone3

Type reference: PreferredZone

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

None

OUTPUTS

VDIHostPool

Last updated