VMware Communities
jriker1
Contributor
Contributor

Remotely start a virtual machine on Windows from Linux

I am running VMware Workstation 15 Pro on a Windows box.  I have a number of virtual machines running static IP and Mac Addresses.  I also have a monitoring platform on Linux that I want to be able to see the status of the virtuals.  OK no big deal on seeing if it's on.  Ping it.  But if it's off, want to click on the trigger on the console and turn it on.  I can call any Linux commands or scripts. Anyone have any thoughts on how to start a virtual machine turned off on a Windows box from a linux box?  Note the assumption would be the server running Windows and the VMware Workstation app are up.

Note I can do Wake On Lane all day with physical computers but not with the virtuals.  I've found a couple tools that could listen for the Mac addresses and wake the device but haven't found one that will work.  Any thoughts?

Thanks.

JR

Reply
0 Kudos
1 Reply
sjesse
Leadership
Leadership

I don't have anything made , but what should work is using powershell on the linux machine to run remote commands on the windows machine.

Invoke-Command

If you can get that to work you can use vmrun to start or stop the vm

Syntax of vmrun Commands

Reply
0 Kudos