< Back

Get-RDVirtualDesktopCollection

Thu Apr 04, 2019 5:42 am

NAME Get-RDVirtualDesktopCollection



SYNOPSIS

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.





PARAMETERS

-CollectionName [<String>]

Specifies the name of the virtual desktop collection.



Required? false

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



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



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS

System.Object



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





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.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=294226

New-RDVirtualDesktopCollection

Remove-RDVirtualDesktopCollection

Update-RDVirtualDesktopCollection