hi Luc,
I need a script to do this,
1. i have a csv file with the VMX locations in it.(one path per row) eg: /vmfs/volumes/datastore000/abc/abc.vmx
2. The script should take a input from csv file and ask for the esx box name to register.
3. then the script should register all the VM's in that csv file to the esx box given.
4.Finally the script should give a result that registered successfully or not.
Also need a one liner to retrive the vmx location of all vm's in the VC. already have one script but that does not work now after updating powercli. Planning to use when esx crashes and there is a need to re-register all the VM's manually in other hosts.
Thanks in Advance!