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
The output type is Microsoft.RemoteDesktopServices.Management.RDVirtualDesktopCollection.
Related Links
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈