VMware Communities
JMair
Contributor
Contributor

Send multiple VMs a command from one device?

I have a Logitech G13 controller (much like a tiny keyboard that can have macros assigned to). I have five VMs . When I highlight or bring a VM to the forefront it can accept a command from the G13. Is there a way for the VMs to accept the io information while not in the foreground? Is there a way to send a command to all VMs at once?

For example, I would love for my G13 to be able to send a character string to each machine at once. Currently I have to go to each machine.

1 Reply
dariusd
VMware Employee
VMware Employee

For this sort of thing, I would have it run a script on the host which uses

   vmrun typeKeystrokesInGuest /path/to/whatever.vmx 'keystrokes'

but... I can't seem to get that to work right now, either with Fusion on my macOS host or in Workstation Pro on my Linux host... It says that I do not have sufficient permissions on the host, which seems a bit unusual.  I do hope I'm just having a brain fade and doing something wrong and we haven't broken vmrun...

Workstation Pro also includes a REST API service which might support this sort of programmatic control too... I have not delved into it.

--

Darius