header image

Working with Server Core–renaming the machine

Posted by: | May 13, 2014 | No Comment |

When you create a new Windows server it usually assigns a name of its own. I always prefer using my own names for servers – I usually create the name so it gives some indication of the machine’s purpose.

Renaming a computer is simple

On the local computer run

Rename-Computer -NewName test01 -Force –Restart

This will rename the computer and force the restart.

If you want to do this remotely the cmdlet has a –ComputerName parameter plus the ability to define local or domain credentials.

under: PowerShell V3, PowerShell v4, Windows 2012 R2, Windows Server 2012