I wasn't able to find anything online, with physical servers I could run something like shutdown /s /f /t 1000
or use task scheduler. What I'm looking to do is shut down a VM but want to shut down the VMs just before the physical is shut down (site will have the power turned off)
Is there a way to achieve this?