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:

Note to self - Firefox and local connections

 Whilst trying to hit my NAS from Firefox on my Mac, I kept seeing errors such as:- Unable to connect Firefox can’t establish a connection t...