This is the built-in help made by Microsoft for the command 'Get-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.
Gets a list of RD Session Host servers in a session collection.
Get-RDSessionHost [-CollectionName] <String> [-ConnectionBroker <String>] [<CommonParameters>]
The Get-RDSessionHost cmdlet gets a list of Remote Desktop Session Host (RDSession Host) servers in a session collection. 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 an RDSession Host server to run programs, save files, and use network
resources on that server.
<
Online Version: http://go.microsoft.com/fwlink/?LinkId=294223
Add-RDSessionHost
Remove-RDSessionHost
Set-RDSessionHost
<
Example 1: Retrieve a list of RD Session Host servers in a session collection
PS C:\> Get-RDSessionHost -CollectionName “Session Collection” -ConnectionBroker rdcb.contoso.com
This command retrieves a list of the RDSession Host servers in the session collection named Session Collection, which is associated with the RDConnection Broker server named
rdcb.contoso.com.