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”

rename-computer

You can either apply “- Restart” switch to automatically restart or manually restart the computer.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s