Query ESXi memory slots/installed memory modules from PowerCLI 4.1

hphp-proliantpowerclivmware-vsphere

I have a VMware infrastructure with some ESXi 4.1 hosts and a vCenter Server 5.0 installed. I need to extend our hardware inventory with the following info:

  • how many memory slots are available in each ESXi host
  • how many and what type (DDR2/DDR3, size, MHz) of memory modules are installed in the slots

To collect this info I have to use PowerCLI and if needed, I can use ESXCli from within it. However I do not have ssh access to the ESXi hosts, so running native ESXi commands is not a possibility.

Is there a way to query the memory information from PowerCLI?

(As a bonus it would be lovely to query if the RAID controllers in the ESXi hosts have a BBWC module installed…)

Best Answer

So these are HP ProLiant servers. You have a variety of methods to gain the inventory information you're looking for... Of the available choices, querying the VMware host via PowerCLI is about the last option I'd use...

I'll add that if you're not using the HP build of ESXi or don't have the HP .VIB bundles installed, you won't get full visibility into the storage system features.

Also see:
How to find out more hardware details using only ESXi4.1 and (possibly) shell
and
Options for managing Smart Array P400 on an ESXi 5 host

Related Topic