VMware Cloud Community
thiag2011
Enthusiast
Enthusiast

Host Server power Management and processor options to be fetched

Hi all,

Our ESXi host runs on HP hardware.

My requirement is to fetch the below.

Power Management Options

Processor Options Enabled

Boot Order Options

I could see HP cmdlets in HP website for windows operating system but unable to find for ESXi hosts..

IS there a way to fetch these BIOS level information from ESXi host / from the bios itself.

Please help.

0 Kudos
3 Replies
LucD
Leadership
Leadership

There have been some examples that use plink.exe, but that requires to have SSH enabled and running on the ESXi node.

See for example Collecting ESXi Host Hardware Information with PowerShell

Would that work for you?

An alternative could be that you use the iLO cmdlets from HP, provided you have iLO present on your HP servers.

See HP releases BIOS PowerShell cmdlets


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
thiag2011
Enthusiast
Enthusiast

Hi Luc,

I think HPILO commandlets are only for windows operating system.I could see this info from the link you shared.

"when you do a Connect-HPBIOS cmdlet, what are you connecting to?  The answer is the Windows OS.  You are not connecting to the iLO, as I first thought.  So, this means, only targets running the Windows OS are going to be viable to you.  I had hoped that maybe the PowerShell toolkit was talking to iLO and its RESTful API, but this is not the case. Connected to the RESTful API would have meant you could use PowerShell to script against Linux and VMware hosts in addition to Windows hosts, but perhaps this will come in future versions."

0 Kudos
LucD
Leadership
Leadership

Another option you could try is the CIM interface, that doesn't normaaly require a Windows OS to be installed on the server.

See for example ESXi get CIM via vCenter PowerCLI


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos