PowerShell Logo Small

Remove-RDServer



This is the built-in help made by Microsoft for the command 'Remove-RDServer', 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 a server from a Remote Desktop deployment.

SYNTAX


Remove-RDServer [-Server] <String> [-Role] <String> [[-ConnectionBroker] <String>] [-Force] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-RDServer cmdlet removes a specified Remote Desktop Services (RDS) server from a Remote Desktop deployment. This cmdlet does not
uninstall a server or server role.



<

RELATED LINKS

Add-RDServer
Get-RDServer

REMARKS

<

Examples


Example 1: Remove an RD Virtualization Host

PS C:\> Remove-RDServer -Server "RDVH.Contoso.com" -Role "RDS-VIRTUALIZATION" -ConnectionBroker "RDCB.Contoso.com"



This command removes an RDVirtualization Host server named RDVH.Contoso.com from the deployment that has an RDConnection Broker server named
RDCB.Contoso.com.