PowerShell Logo Small

Remove-RDServer



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

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

Online Version: http://go.microsoft.com/fwlink/?LinkId=294247
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 RD Virtualization Host server named RDVH.Contoso.com from the deployment that has an RD Connection Broker server named RDCB.Contoso.com.