Advertisement
easternnl

Commandline VMware Workstation

May 5th, 2015
754
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.53 KB | None | 0 0
  1. #!/bin/bash
  2. #
  3. # Operate VMware Workstation on Linux from the commandline
  4. #
  5.  
  6. #Start VMs
  7. vmrun -T ws-shared -h 172.16.40.138 start "[ha-datacenter/standard] capepoint/capepoint.vmx"
  8. vmrun -T ws-shared -h 172.16.40.138 start "[ha-datacenter/standard] pfsense/pfsense.vmx"
  9. vmrun -T ws-shared -h 172.16.40.138 start "[ha-datacenter/standard] nelspruit/nelspruit.vmx"
  10.  
  11. #List running VMs
  12. vmrun list
  13.  
  14. #Suspend running VMs
  15. vmrun suspend /folder/nelspruit/nelspruit.vmx
  16.  
  17. #List VMs
  18. vmrun -T ws-shared -h 172.16.40.138 listRegisteredVM
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement