PowerShell Logo Small

Set-RDSessionHost



This is the built-in help made by Microsoft for the command 'Set-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

Configures one or more RD Session Host servers in a session collection.

SYNTAX


Set-RDSessionHost [-SessionHost] <String[]> [-NewConnectionAllowed] <RDServerNewConnectionAllowed> [-ConnectionBroker <String>]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


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 RDSession Host server to run programs, save files, and use network resources on
that server.



<

RELATED LINKS

Add-RDSessionHost
Get-RDSessionHost
Remove-RDSessionHost

REMARKS

<

Examples


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.