Link to home
Start Free TrialLog in
Avatar of HHCTYIT
HHCTYIT

asked on

Set FQDN of RDS server

I need to change the FQDN of my 2012R2 RDS server.  I have found numerous articles referencing the command Set-RDPublishedName however when I run it in my environment I get the message that the command is not recognized.  Any suggestions?
Avatar of Systech Admin
Systech Admin
Flag of India image

all RDS roles are on the same server?
try to run powershell as an administrator and run  below command first

Import-Module RemoteDesktopServices

then try to run the command which you are trying to run to change FQDN.
Avatar of HHCTYIT
HHCTYIT

ASKER

Hi Gaurav.  I've tried that several times to no avail.  Yes all RDS roles are on this server.  Any other thoughts?
can you give the output of this : Get-RDClientAccessName

and also see if Set-RDClientAccessName works
Avatar of HHCTYIT

ASKER

Neither command works

Set-RDPublishedname : The term 'Set-RDPublishedname' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ Set-RDPublishedname
+ ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Set-RDPublishedname:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
Avatar of HHCTYIT

ASKER

Get-RDClientAccessName : The term 'Get-RDClientAccessName' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ Get-RDClientAccessName
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-RDClientAccessName:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
well it seems like that you are missing something to get it fixed. Can you refer below link and see if that works for you.

https://gallery.technet.microsoft.com/Change-published-FQDN-for-2a029b80
Avatar of HHCTYIT

ASKER

Yes, I have tried this article with no luck.  I'm stumped as to why these command do not work.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.