< Back

Get-RDSessionCollection

Thu Apr 04, 2019 5:41 am

NAME Get-RDSessionCollection



SYNOPSIS

Gets session collections in a Remote Desktop deployment.





SYNTAX

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





DESCRIPTION

The Get-RDSessionCollection cmdlet gets session collections in a Remote Desktop deployment. A session collection consists of one or more Remote

Desktop Session Host (RDSession Host) servers. Users can connect to RDSession Host servers in a session collection to run programs, save files,

and use resources on those servers.





PARAMETERS

-CollectionName [<String>]

Specifies the name of a session collection.



Required? false

Position? 1

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ConnectionBroker [<String>]

Specifies the Remote Desktop Connection Broker (RDConnection 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

Microsoft.RemoteDesktopServices.Management.RDSessionCollection







Example1: Get a list of the Session Collections in the Remote Desktop Deployment



PS C:\\> Get-RDSessionCollection -CollectionName "Session Collection" -ConnectionBroker "RDCB.Contoso.com"



This command gets the collection named Session Collection in the deployment that has the RD?? Connection Broker named RDCB.Contoso.com.







RELATED LINKS

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

New-RDSessionCollection

Remove-RDSessionCollection