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?
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
and also see if Set-RDClientAccessName works
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:Strin g) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
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:Strin
+ FullyQualifiedErrorId : CommandNotFoundException
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:St ring) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
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:St
+ 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
https://gallery.technet.microsoft.com/Change-published-FQDN-for-2a029b80
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 TRIALMembers 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.
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.