Rename Computer name via Powershell
As a System Administrators, you want to do things fast and on more computers at once. I remember renaming a computer involved few GUI steps, which is not shortened to one line command via Powershell. To do so,
Rename-Computer -NewName “Batthz-SQL01”
You can either apply “- Restart” switch to automatically restart or manually restart the computer.
No Comments