Get-RDVirtualDesktopConcurrency

Get-RDVirtualDesktopConcurrency

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

Syntax

Parameter Set: Default
Get-RDVirtualDesktopConcurrency [[-HostServer] <String[]> ] [-ConnectionBroker <String> ] [ <CommonParameters>]

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

Parameters

-ConnectionBroker<String>

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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-HostServer<String[]>

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.

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.Object

Examples

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

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

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

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

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

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

Set-RDVirtualDesktopConcurrency