C:\Program Files\VMware\VMware VI Remote CLI\bin>vmware-cmd.pl -H 10.0.200.70 -U root -P myPassword -s register [datastore1]RHEL4/RHEL4.vmx localhost.localdomain default_resource_pool
You will have to create a resource pool and put it in there. To create one just right click on your datacenter icon in the console and click on New Resource Pool
1 comments:
I found a much easier way to register a VM with ESXi. Using the datastore browser, browse to your vmx file, right click on it and there is an option to register it.
The datastore browser can be launched from the VI Client under Configuration - storage. Right click on your datastore and choose Browse Datastore.
Kevin
Post a Comment