Rename-Computer -ComputerName "DPC-XXX" -NewName "DPC-JKenney" -DomainCredential DPC\yourDAaccount -force



Example - Rename-Computer -ComputerName "DPC-AKKKKTFYEIE" -NewName "DPC-LPendSurf" -DomainCredential DPC\luke.pendegrass_da -force

BE MINDFUL if you change someone's computer name and they lock the computer before they restart they will be unable to log in until they do. It will give them a "Domain" error.