This is the built-in help made by Microsoft for the command 'Set-RDSessionHost', 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.
Configures one or more RD Session Host servers in a session collection.
Set-RDSessionHost [-SessionHost] <String> [-NewConnectionAllowed] <RDServerNewConnectionAllowed> [-ConnectionBroker <String>] [<CommonParameters>]
The Set-RDSessionHost cmdlet configures one or more Remote Desktop Session Host (RDSession Host) servers in a session collection by specifying whether each server can accept
new connections. RDSession Host is a Remote Desktop Services role service that lets users share Windows-based programs or the full Windows desktop. Users can connect to a RD
Session Host server to run programs, save files, and use network resources on that server.
Online Version: http://go.microsoft.com/fwlink/?LinkId=294266
Example 1: Set values for an RD Session Host server
PS C:\> Set-RDSessionHost -SessionHost "rdsh.contoso.com" -NewConnectionAllowed $True -ConnectionBroker "rdcb.contoso.com"
This command specifies values for an RDSession Host server named rdsh.contoso.com. Users can make new server connections to a session collection on the RDConnection Broker
server named rdcb.contoso.com.