CmdID / PowerShell / Cmdlets / Remove
Remove-RDServer
Removes a server from a Remote Desktop deployment. Windows Server PowerShell reference
From the Windows Server PowerShell reference 4 parameters Its page in the reference
Parameters
-ConnectionBrokerSpecifies the Remote Desktop Connection Broker (RD Connection Broker) server for a Remote Desktop deployment.-ForceForces the command to run without asking for user confirmation.-RoleSpecifies an RDS role service name.-ServerSpecifies the FQDN of the server to be removed from the Remote Desktop deployment.