Rename-Computer
Windows
Change the generic computer name of Windows to something meaningful
# in PowerShell
Rename-Computer -NewName DC-01.ostrmn.com
# this requires a restart to take effect
Restart-Computer
# in PowerShell
Rename-Computer -NewName DC-01.ostrmn.com
# this requires a restart to take effect
Restart-Computer