This cmdlet allows you to change the published Fully Qualified Domain Name (FQDN) that clients use to connect to a Server 2012 or Server 2012 R2 Remote Desktop Services deployment.  This FQDN is included in .rdp files published via RD Web Access and the RemoteApp and Desktop Connections feed.

A common scenario where the ability to change the published name is useful is when your internal domain is .local, .private, .internal, etc.  For instance, you purchase and install a wildcard certificate (*.yourdomain.com) for use with RDS, but when your users connect they receive a name mismatch error because they are attempting to connect to rdcb.yourdomain.local.  This cmdlet allows you to change the FQDN they will use to a name that will match your certificate (rdcb.yourdomain.com).

 

Syntax

Set-RDPublishedName [-ClientAccessName] <String> [[-ConnectionBroker] <String> ]

Example

In this example the cmdlet is run directly on the RD Connection Broker and we would like to change the published name to remote.contoso.com. We are making this change in order to match our installed wildcard certificate which has a subject of *.contoso.com:

Set-RDPublishedName "remote.contoso.com"

 

If you have any questions regarding this cmdlet or its usage please ask in the Remote Desktop Services Forum:

http://social.technet.microsoft.com/Forums/en-US/winserverTS/threads