VMware Cloud Community
lvaibhavt
Hot Shot
Hot Shot

How to check vm is registered on which host

Hi all,

I have a vm (abcd) in a datastore (1). I am unable to find the vm (abcd) on the Virtual Center.

Which I right the vmx file from the datastore dialogue box the option for register vm is greyed out.

The Datastore (1) is mapped to 24 hosts in a cluster.

How can I check to host the VM is registered. Any command ?

thanks

0 Kudos
3 Replies
JimKnopf99
Commander
Commander

Hi,

you could use powershell with the command

get-vmhost -vm machine_name

Or also search the inventory with your vsphere client or web client.

Frank

If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
vmroyale
Immortal
Immortal

Open the .VMX file for this VM and look for the displayName value. It probably doesn't match the directory name.

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
lvaibhavt
Hot Shot
Hot Shot

thanks guys !

0 Kudos