vmwaredude1
Contributor
Contributor

command to register VM

Jump to solution

Guys,

After a some break, I am again touching ESX. I need to know the command which, will help me to register a VM. I know there was a command, with which I can restart, stop, register VM from the ESX console but I dont remember that command, can someone please help ?

Thanks

0 Kudos
1 Solution

Accepted Solutions
oreeh
Immortal
Immortal

vmware-cmd -s register path_to_vmx_file

View solution in original post

0 Kudos
4 Replies
oreeh
Immortal
Immortal

vmware-cmd -s register path_to_vmx_file

View solution in original post

0 Kudos
ctfoster
Expert
Expert

vmware-cmd -s register vmfs/volume/vmfslabel/VMName/VMName.vmx

Use the path with the UUID (vmfslabel) where requested when using vmware-cmd and you can use vmware-cmd -l command to retrieve the UUID

0 Kudos
francisbandi
Enthusiast
Enthusiast

we live in Virtual center world.

I use VC - configuration - storage -> browse to .vmx file and add to inventory

0 Kudos
oreeh
Immortal
Immortal

I (and I assume vmwaredude1 as well) live there too, but with the command line you can easily write scripts for mass registration.

0 Kudos