Powershell Tip #61: Rename a computer

By | November 10, 2015

Tip: You can easily rename a computer with PowerShell.

Before Reboot

rename-computer-before-reboot

After Reboot

rename-computer-after-reboot

Note: The parameter -Restart restarts the computer that was renamed.


previous-buttonnext-button

2 thoughts on “Powershell Tip #61: Rename a computer

  1. Pingback: Powershell Tip #62: Concatenate arrays | Powershell Guru

  2. Pingback: Powershell Tip #60: Check integrity and defragment offline the Active Directory database (NTDS.DIT) | Powershell Guru

Leave a Reply

Your email address will not be published. Required fields are marked *