Naming your computer is almost as exciting as naming your baby or new puppy. Almost.  However, it shouldn’t have to be as difficult. 

Whether you recently purchased a new computer, or upgraded from a previous version to Windows 10 (and the name you assigned your computer didn’t make it through the upgrade), this script will help you easily rename the computer.

Not to mention, if you’re an MSP or IT professional managing a ton of devices, renaming them in a systematic way will certainly help you keep track of all the devices you monitor and maintain on a monthly basis. 

This script changes the system hostname and restarts the computer automatically. The hostname is changed both locally and over the network.

This script will work for both a local and remote computer, hopefully making your work life a little easier.