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.
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
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."
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