PowerShell Logo Small

New-RDSessionCollection



This is the built-in help made by Microsoft for the command 'New-RDSessionCollection', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Creates a session collection of RD Session Host servers.

SYNTAX


New-RDSessionCollection [-CollectionName] <String> [-CollectionDescription <String>] [-ConnectionBroker <String>] -SessionHost <String[]> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The New-RDSessionCollection cmdlet creates a session collection that consists of one or more Remote Desktop Session Host (RDSession Host) servers. Users can connect to RD
Session Host servers in a session collection to run programs, save files, and use resources on those servers.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=294240
Get-RDSessionCollection
Remove-RDSessionCollection

REMARKS

<

Examples


Example 1: Create a session collection

PS C:\> New-RDSessionCollection -CollectionName "Session Collection 02" -SessionHost @("RDSH01.Contoso.com"," RDSH02.Contoso.com") -CollectionDescription "Session collection
for West office hosts." -ConnectionBroker "RDCB.Contoso.com"



This command creates a session collection named Session Collection 02 in the Remote Desktop deployment that has the RDConnection Broker server named RDCB.Contoso.com. The
collection includes the RDSession Host servers named RDSH01.Contoso.com and RDSH02.Contoso.com. The command specifies a description of the new collection.