Posted April 14, 20205 yr Hello, Â I'm on Windows 10 Pro running Pulseway and have Hyper-V with a few VMs. Is there a way I could start/stop one of the VMs from the Android app using a script?
April 14, 20205 yr Administrators Hi Craig, For sure, you can use PowerShell to control Hyper-V. See link:Â http://techgenix.com/administer-microsoft-hyper-v-command-line-cli/. Also you can enable the Hyper-V server module from the Pulseway Manager -> Server Modules -> Hyper-V as we have built-in support for managing Hyper-V. -Paul
April 23, 20204 yr There is a whole set of Powershell commands to work with Hyper-V virtual machines: https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/try-hyper-v-powershell You can create a Powershell script in Pulseway - it's as simple as: Â Stop-VM -Name TestVM Start-VM -Name TestVM Just RTFM for other command uses.
Create an account or sign in to comment