This is the built-in help made by Microsoft for the command 'Remove-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.
Removes one or more RD Session Host servers from a session collection.
Remove-RDSessionHost [-SessionHost] <String> [-ConnectionBroker <String>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]
The Remove-RDSessionHost cmdlet removes one or more Remote Desktop Session Host (RDSession Host) servers from a session collection. The servers remain part of the deployment.
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=294249
PS C:\> Remove-RDSessionHost -SessionHost @("rdsh.contoso.com") -ConnectionBroker "rdcb.contoso.com" -Force
This command removes the session host named rdsh.contoso.com from the session collection.