The first thing to do with a machine that has a fresh OS on it is renaming it. After renaming and before start configuring, restart the VM:
rename-computer -newname Mushaaf-DC01
![](https://mushaaf.net/wp-content/uploads/2021/06/TinyTake18-06-2021-07-20-15.png)
Restart-Computer
After restarting it, log in once again and check the host name:
![](https://mushaaf.net/wp-content/uploads/2021/06/TinyTake18-06-2021-07-27-05.png)