In post I’ll show how I’m renaming the hostname of my Nano Server 2016 Server which can only be done from the PowerShell.
As you will see below the recovery console does not have an option to rename the hostname and the only way to do this Is using PowerShell.
To get started I’ll log In to my Nano Server using PowerShell Remote Session or PowerShell Direct from my Hyper-V Host.
To change the host name I type:
Rename-Computer -NewName NanoTP05 –PassThru
To restart the computer, I type
And as you can see below, my Nano Server has a new Hostname
One response to “How To Rename A Nano Server Hostname”
It didn’t work for me. I’ve got an error that states: The request is not support.ed