Edit

Share via


Get-RDVirtualDesktopConcurrency

Gets the number of virtual desktops that RDS can create in parallel.

Syntax

Default (Default)

Get-RDVirtualDesktopConcurrency
    [[-HostServer] <String[]>]
    [-ConnectionBroker <String>]
    [-BatchSize <Int32>]
    [<CommonParameters>]

Description

The Get-RDVirtualDesktopConcurrency cmdlet gets the number of virtual desktops that Remote Desktop Services (RDS) can create in parallel on one or more Remote Desktop Virtualization Host (RD Virtualization Host) servers.

Examples

Example 1: Get the number of virtual desktops that RDS can create in parallel on host servers

PS C:\> Get-RDVirtualDesktopConcurrency -ConnectionBroker "rdcb.contoso.com" -HostServer @("rdvh-1.contoso.com","rdvh-2.contoso.com")

This command gets the number of virtual desktops that Remote Desktop Services (RDS) can create in parallel on the host servers named rdvh-1.contoso.com and rdvh-2.contoso.com.

Example 2: Get the number of virtual desktops that RDS can create in parallel on all host servers

PS C:\> Get-RDVirtualDesktopConcurrency -ConnectionBroker "rdcb.contoso.com"

This command gets the number of virtual desktops that Remote Desktop Services (RDS) can create in parallel on all the host servers associated with the RD Connection Broker server named rdcb.contoso.com.

Parameters

-BatchSize

Specifies the batch size.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ConnectionBroker

Specifies the Remote Desktop Connection Broker (RD Connection Broker) server for a remote desktop deployment. If you do not specify a value, the cmdlet uses the fully qualified domain name (FQDN) of the local computer.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-HostServer

Specifies an array of names of the servers that host the session. For session collections the host server has the name of the Remote Desktop Session Host (RD Session Host) server. For virtual desktop collections the host server has the name of the Remote Desktop Virtualization Host (RD Virtualization Host) server.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

Object