Windows 2012 Core Survival Guide – Computer Name Setting

Learn about my 2012 Core Survival Guide here.

Computer Name Setting

This blog is going to cover the basic of viewing and changing your computer name.  Setting the computer name is an option when you are installing the OS, or you can let the installer auto name your server.  If for some reason you need to rename your computer it can be done using PowerShell.

How to view computer name

I view the computer name by looking at the environment variable "ComputerName".

PowerShell Command:

Get-Content ENV:Computername

In the sample output below I see that this computer name is "CORETEST1"

How to change computer name

I change the computer name by using the Rename-Computer cmdlet.  

PowerShell Command:

Rename-Computer -NewName MyCoreBox -restart

In the output below we see that this computer is rename from "CORETEST1" to MyCoreBox.  Since the box reboots with this command I have to capture a second screen shot after the reboot to confirm the setting.


Screen shot after reboot


I hope you found this useful.  Please leave me a comment.  Let me know if there are any core tasks you would like me to cover.



Comments (14)
  1. D Moore says:

    Just what I was looking for. Thank you Sir!

  2. Manoj Gupta says:

    It is working. Thanks a lot:)

  3. Manoj Gupta says:

    It is working. Thanks a lot:)

  4. Manoj Gupta says:

    It is working. Thanks a lot:)

  5. Amir says:

    Thanks Man 🙂

  6. jasoon says:

    That helps a lot. Thanks!!

  7. nahid says:

    very very very helpful for me. Bruce thanks a lot. God bless you

  8. lucy says:

    It was nicely written & helped me a lot. Thanks for such an amazing article. Regards, Lucy

  9. berita indonesia says:

    berita terkini dan terpopuler di
    indeks berita terkini di
    nonton siaran langsung bola online di
    nonton siaran tv streaming online di
    nonton jadwal siaran langsung live streaming liga inggris di
    nonton jadwal siaran langsung live streaming liga italia di
    nonton live streaming siaran bein sports 3 di
    indeks berita bola terkini hari ini di
    kabar berita bola terkini dan terbaru di
    komunitas sepak bola online indonesia di

  10. asas says:

    Spesifikasi Harga

    kata sayang
    kata romantis
    kata mutiara
    kata cinta
    kata lelah
    kata jomblo
    kata gombal
    kata galau

Comments are closed.

Skip to main content