Run a cmd after host name reboot
On Windows 10, the VM reboots after the host name gets set. On the subsequent boot I want to run a powershell script (to join domain). My question is how do I specify that the script is to only run after the VM reboots?
Thanks!