Set a Virtual Machine’s automatic stop action from PowerShell
If you use a virtual machine on Hyper-V Core to manage the Hyper-V operating system, you cannot make changes to the virtual machine that require powering it off because you can’t access the Server...