PowerShell Logo Small

Add-RDSessionHost



This is the built-in help made by Microsoft for the command 'Add-RDSessionHost', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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

Adds one or more RD Session Host servers to a session collection.

SYNTAX


Add-RDSessionHost [-CollectionName] <String> [-ConnectionBroker <String>] -SessionHost <String[]> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Add-RDSessionHost cmdlet adds one or more Remote Desktop Session Host (RDSession Host) servers to a session collection. RDSession Host is
a Remote Desktop Services role service that enables users to share Windows-based programs or the full Windows desktop. Users can connect to an
RDSession Host server to run programs, save files, and use network resources on that server.



<

RELATED LINKS

Get-RDSessionHost
Remove-RDSessionHost
Set-RDSessionHost

REMARKS

<

Examples


Example 1: Add an RD Session Host server to a session collection on an RD Connection Broker server

PS C:\> Add-RDSessionHost -SessionHost "sessionhost.contoso.com" -ConnectionBroker "rdcb.contoso.com"



This command adds an RDSession Host server named sessionhost.contoso.com to a session collection. Remote users connect to the RDConnection
Broker server named rdcb.contoso.com to obtain views of available RemoteApp programs, session-based desktops, and virtual desktops.