Craig Tech Posted April 14, 2020 Share 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? Link to comment Share on other sites More sharing options...
Administrators Paul Posted April 14, 2020 Administrators Share 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 Link to comment Share on other sites More sharing options...
BartB Posted April 23, 2020 Share 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. Link to comment Share on other sites More sharing options...
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