PowerShell Change HostName

Rename-Computer -NewName 'SomeHostname' -Restart
Plain Partridge