VMware Cloud Community
jasonqkao
Contributor
Contributor

How to register VM Guest on ESX 3i with Command Line ?

Dear All

Could you help me to register VM Guest on ESX 3i with command line?

Thank you !!

Jason Kao

0 Kudos
4 Replies
wondab
Enthusiast
Enthusiast

To Register and Un-register a VM

1. Type:

vmware-cmd -s unregister

/vmfs/volumes/44a38c72-156b2590-be15-

00065bec0eb7/instructor/instructor.vmx

Note:

Also includes register as a command. S stands for set. This un-registers a

VM from an ESX host (stand-alone)

Unfortunately, it does NOT un-register it from VirtualCenter. Instead you

are left with an "orphaned" VM that needs right-clicking and "Remove from

the Inventory"

This can be found towards te end of the Service Console guide.

0 Kudos
jasonqkao
Contributor
Contributor

Hi Wondab

Thank you for your answer.

But ESX 3i doesn't have console like 3.0.x.

It also can't connect with SSH tools like putty.

Jason Kao

0 Kudos
Dave_Mishchenko
Immortal
Immortal

Hi Jason, I haven't tried this myself yet, but if you download the Remote Command Install from the below link, there is a script ( vmregister.pl ) that should be able to do this for you - http://www.vmware.com/download/download.do?downloadGroup=VI-RCLI

dufflepod
Contributor
Contributor

The fastest way to register a vmx file in 3i or 3.5 is to browse datastore from the VI Client and right click the vmx file and select Add to Inventory.

0 Kudos