編輯

共用方式為


Get-RDVirtualDesktopCollectionConfiguration

Gets configuration details of a virtual desktop collection.

Syntax

Get-RDVirtualDesktopCollectionConfiguration
   [-CollectionName] <String>
   [-ConnectionBroker <String>]
   [<CommonParameters>]
Get-RDVirtualDesktopCollectionConfiguration
   [-CollectionName] <String>
   [-VirtualDesktopConfiguration]
   [-ConnectionBroker <String>]
   [<CommonParameters>]
Get-RDVirtualDesktopCollectionConfiguration
   [-CollectionName] <String>
   [-UserGroups]
   [-ConnectionBroker <String>]
   [<CommonParameters>]
Get-RDVirtualDesktopCollectionConfiguration
   [-CollectionName] <String>
   [-Client]
   [-ConnectionBroker <String>]
   [<CommonParameters>]
Get-RDVirtualDesktopCollectionConfiguration
   [-CollectionName] <String>
   [-UserProfileDisks]
   [-ConnectionBroker <String>]
   [<CommonParameters>]

Description

The Get-RDVirtualDesktopCollectionConfiguration gets configuration details of a virtual desktop collection.

Examples

Example 1: Get configuration settings for virtual desktops in a collection

PS C:\> Get-RDVirtualDesktopCollectionConfiguration -ConnectionBroker "rdcb.contoso.com" -CollectionName "Virtual Desktop Pool" -VirtualDesktopConfiguration

This command gets the configuration settings for the virtual desktops in the collection named Virtual Desktop Pool that is associated with the RD Connection Broker server named rdcb.contoso.com.

Example 2: Get user profile disk settings for a virtual desktop collection

PS C:\> Get-RDVirtualDesktopCollectionConfiguration -ConnectionBroker "rdcb.contoso.com" -CollectionName "Virtual Desktop Pool" -UserProfileDisks

This command gets the user profile disk settings for the virtual desktop collection named Virtual Desktop Pool that is associated with the RD Connection Broker server named rdcb.contoso.com.

Parameters

-Client

Indicates that this cmdlet gets Remote Desktop Protocol (RDP) settings for virtual desktops in the collection.

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

-CollectionName

Specifies the name of a virtual desktop collection.

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

-UserGroups

Indicates that the cmdlet gets a list of domain groups and users that are authorized to connect to the collection.

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

-UserProfileDisks

Indicates that the cmdlet gets a list of user profile disk settings for the collection.

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

-VirtualDesktopConfiguration

Indicates that the cmdlet gets configuration settings for virtual desktops in the collection.

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

Outputs

Object