PowerShell Logo Small

Remove-RDSessionHost



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

Removes one or more RD Session Host servers from a session collection.

SYNTAX


Remove-RDSessionHost [-SessionHost] <String[]> [-ConnectionBroker <String>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


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.



<

RELATED LINKS

Add-RDSessionHost
Get-RDSessionHost
Set-RDSessionHost

REMARKS

<

Examples


Example 1:

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.