Add secondary name
- netdom computername oldname.domain.com /add:newname.domain.com
Reboot the server
Remove the old name
- netdom computername newname.domain.com /remove:oldname.domain.com
Display the name
- netdom computername newname.domain.com /enumerate