Translate

Total Pageviews

My YouTube Channel

Wednesday 17 February 2016

How to findout all the unregistered VM's in a specific ESXi Host?

1. First Connect with ESXi Shell (Local or Remote) Let's assume hostname of esxi is ESXi-a-01
2. Then execute this command to findout all the .vmx files visible to particular esxi host example :- ESXi-a-01
find -iname \*.vmx 

3. Then execute  another command to list all the running vm's on the esxi host example :- ESXi-a-01
vim-cmd vmsvc/getallvms
4. Now compare both the outputs and you will get the info what all the vms are not registered on this ESXi. Now as you can see in this example Linux-a-02, Linux-a-07, Linux-a-09, Linux-a-010 are not registered on this esxi host.


No comments:

Post a Comment