Modifier

Partager via


Get-RDVirtualDesktopCollection

Gets a list of virtual desktop collections in a remote desktop deployment.

Syntax

Get-RDVirtualDesktopCollection
   [[-CollectionName] <String>]
   [-ConnectionBroker <String>]
   [<CommonParameters>]

Description

The Get-RDVirtualDesktopCollection cmdlet gets a list of existing virtual desktop collections in a remote desktop deployment.

Examples

Example 1: Get the list of the virtual desktop collections in a remote desktop deployment

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

This command lists the virtual desktop collections associated with the RD Connection Broker named rdcb.contoso.com.

Parameters

-CollectionName

Specifies the name of the virtual desktop collection.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters: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.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Object

The output type is Microsoft.RemoteDesktopServices.Management.RDVirtualDesktopCollection.