ESXi

ESXi 5.x: Registering / unregistering VMs from the CLI in one go.

Registering I theory, this can be done without the CSV, using this command: vim-cmd solo/registervm /vmfs/volumes/……MY_VM.vmx MACHINE_NAME cat /etc/vmware/hostd/pools.xml | grep “YOUR-RESOURCE-POOL-NAME” -A1 | grep “[objID]” | sed ‘s///;s///g’ | sed -e ‘s/^[[:blank:]]*//;s/[[:blank:]]*$//’ vmware-vim-cmd solo/registervm /vmfs/volumes/olga-local-SAS.Storage/UCSB-GAUCHOS/UCSB-GAUCHOS.vmx UCSB-GAUCHOS cat /etc/vmware/hostd/pools.xml |…