VMware Cloud Community
prakash9339
Enthusiast
Enthusiast

Free Esxi Host Info

How to pull free esxi host information from VC, Is there Vsphere CLI please help me.

Reply
0 Kudos
6 Replies
BenLiebowitz
Expert
Expert

What sort of information are you looking for?  You should be able to use PowerCLI to pull host information from vCenter. 

the Get-VMHost cmdlet contains a lot of information.

Ben Liebowitz, VCP vExpert 2015, 2016, & 2017 If you found my post helpful, please mark it as helpful or answered to award points.
Reply
0 Kudos
a_p_
Leadership
Leadership

An ESXi host with a free Hypervisor license cannot be managed by vCenter. However, you can use scripts (e.g. PowerCLI), or tools like RVTools‌ to retrieve information.

André

Reply
0 Kudos
UmeshAhuja
Commander
Commander

Hi,

You can retrieve this information by browsing to https://youresxhost/cgi-bin/esxcfg-info.cgi.


The output looks like this:

esxcfg-info.jpg

Thanks n Regards
Umesh Ahuja

If your query resolved then please consider awarding points by correct or helpful marking.
Reply
0 Kudos
prakash9339
Enthusiast
Enthusiast

Free in terms of free blade in the folder, we will keep some additional ESXi boxes in the folder for feature user or unexpected user can we pull that info.

Free Esxi means, currently no VM's were running from blade.

Reply
0 Kudos
UmeshAhuja
Commander
Commander

Hi,

You can run the below command which will give you the count of VM's per host in a cluster.

Get-VMHost | Select @{N=“Cluster“;E={Get-Cluster -VMHost $_}}, Name, @{N=“NumVM“;E={($_ | Get-VM).Count}} | Sort Cluster, Name | Export-Csv -NoTypeInformation c:\clu-host-numvm.csv

Thanks n Regards
Umesh Ahuja

If your query resolved then please consider awarding points by correct or helpful marking.
Reply
0 Kudos
prakash9339
Enthusiast
Enthusiast

Can we get free ESXi host information

Reply
0 Kudos