Craig Tech Posted April 14, 2020 Posted April 14, 2020 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?
Administrators Paul Posted April 14, 2020 Administrators Posted April 14, 2020 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
BartB Posted April 23, 2020 Posted April 23, 2020 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now