Friday, March 25, 2016

PowerShell - Rename Computer in Active Directory

Execute the command below and restart the computer.

Rename-Computer -ComputerName "OLD_COMPUTER_NAME" -NewName "NEW_COMPUTER_NAME" -DomainCredential $cred

No comments:

Post a Comment