Thursday 24 September 2015

Control VMware Fusion from the Command Line

From a rather useful blog post: -


I was looking for a way to script the suspension of a couple of VMware Fusion VMs.

This is with what I ended up: -

Suspend the IBM BPM VM

/Applications/VMware\ Fusion.app/Contents/Library/vmrun -T ws suspend ~/Documents/Virtual\ Machines.localized/BPM_LDAP.vmwarevm/BPM_LDAP.vmx

Suspend the MS Active Directory VM

/Applications/VMware\ Fusion.app/Contents/Library/vmrun -T ws suspend ~/Documents/Virtual\ Machines.localized/W2K8.vmwarevm/W2K8.vmx

This is in the context of an earlier Mac OS X sleep/wake issue about which I had previously blogged: -

No comments:

Visual Studio Code - Wow 🙀

Why did I not know that I can merely hit [cmd] [p]  to bring up a search box allowing me to search my project e.g. a repo cloned from GitHub...