Modify VM attributes from VMware CLI

view full story

http://serverfault.com – There has to be a way to do this that I'm missing. I'm trying to modify attributes on a whole bunch of VMs at the same time from the CLI: Look! 24 VMs: $ vmware-cmd --server --username root --password vmware -h -l /vmfs/volumes/volumes/V-RHEL-01/V-RHEL-01.vmx /vmfs/volumes/volumes/V-RHEL-02/V-RHEL-02.vmx /vmfs/volumes/volumes/V-RHEL-03/V-RHEL-03.vmx … /vmfs/volumes/volumes/V-RHEL-24/V-RHEL-24.vmx Let's try and modify them: $ for i in `seq -w 1 24`; do CFG="/vmfs/volumes/volumes/V-RHEL-$i/V-RHEL-$i.vmx" echo $CFG vmware-cmd --server --username root --p (HowTos)