PowerShell Logo Small

Get-RDServer



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

Gets RDS servers in a Remote Desktop deployment.

SYNTAX


Get-RDServer [[-ConnectionBroker] <String>] [[-Role] <String[]>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-RDServer cmdlet gets the Remote Desktop Services (RDS) servers in a Remote Desktop deployment. You can get servers by role, or all servers in a deployment.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=294220
Add-RDServer
Remove-RDServer

REMARKS

<

Examples


Example 1: Get all servers

PS C:\> Get-RDserver



This command gets all servers and the server roles installed in the Remote Desktop deployment on the local computer.




Example 2: Get servers that have a specified role

PS C:\> Get-RDserver -Role "RDS-VIRTUALIZATION"



This command gets the servers that have the RD Virtualization Host server role for the local computer. The Role parameter has the value RDS-VIRTUALIZATION.




Example 3: Get all servers for an RD Connection Broker

PS C:\> Get-RDServer -ConnectionBroker "RDCB.Contoso.com"



This command gets the servers and the server roles installed in the Remote Desktop deployment for the RD Connection Broker, named RDCB.Contoso.com.