VMware {code} Community
Naiyan
Contributor
Contributor

How to register VM within free licensed ESXi?

Is it possible to run a program or script to register a number of VMs in free licensed ESXi 4?

Any comments are highly appreciated!! 

0 Kudos
4 Replies
FranckRookie
Leadership
Leadership

Hi Naiyan,

From the Tech Support Mode console, you could try to run a script executing a "vmware-cmd <cfg> register" for each VM (<cfg> is the full path to the vmx file). RCLI and Powershell scripts should not work as they are read-only on the free version of ESXi.

Good luck!

Regards

Franck

0 Kudos
Naiyan
Contributor
Contributor

Thank you for your response!!

However,

1)  How to find that command "Vmware-cmd"?  Our machine is located remotely. We can acess it via SSH. Would you like me know the path to find that command if access via SSH?

2)  If that command can be run from local machine not remotely via SSH?

Thank you again!

0 Kudos
FranckRookie
Leadership
Leadership

Oops, answered too quickly... The right command line is:

   /bin/vim-cmd solo/registervm [cfg path] [name(optional)] [resourcepool(optional)]

Sorry.

Franck

0 Kudos
Naiyan
Contributor
Contributor

Franck, thank you so much!!

It works.

0 Kudos