ProLiant Servers (ML,DL,SL)
1825795 Members
2242 Online
109687 Solutions
New Discussion

Re: pull ONLY the system ROM information via Powershell HPEBIOS/HPEILO Commandlets

 
SOLVED
Go to solution
Infra4
Senior Member

pull ONLY the system ROM information via Powershell HPEBIOS/HPEILO Commandlets

Hi all,

i am currently working on a process to manually pull all ILO and BIOS informations from the HPE Servers that we manage.

The only thing i have left is to pull the exact System ROM version from all hosts such as P89 v2.90 (04/29/2021) 

I am able to pull all information firmware version but i only need simply the current active system ROM

Both below scripts are pulling all information but i cannot grab this particular item:

Script 1: this one provides all firmware version for all hardware on the server

$info = Get-HPEiLOServerInfo -Connection $connection

$info.FirmwareInfo

Index FirmwareName                              FirmwareVersion        FirmwareFamily
----- ------------                              ---------------        --------------
    0 iLO                                       2.78 Apr 28 2021                     
    0 System ROM                                P89 v2.90 (04/29/2021)               
    0 Redundant System ROM                      P89 v2.80 (10/16/2020)               
    0 Intelligent Provisioning                  2.10.83                              
    0 Intelligent Platform Abstraction Data     27.01                                
    0 Power Management Controller Firmware      1.0.9                  14h           
    0 Power Management Controller FW Bootloader 1.0                                  
    0 System Programmable Logic Device          Version 0x30                         
    0 SAS Programmable Logic Device             Version 0x03                         
    0 Server Platform Services (SPS) Firmware   3.0.6.267.1                          
    0 HPE Smart Storage Battery 1 Firmware      1.1                                  
    0 Smart Array P440ar Controller             7.00                                 
    0 HPE Ethernet 1Gb 4-port 331i Adapter      20.18.31

 

Script 2: this one shows all stored BIOS Firmware version but i cannot grab the only active one

Get-HPEiLOFirmwareInventory -Connection $connection | Select-Object -Property @{Name='FirmwareVersion';Expression={$PSItem.FirmwareInformation.FirmwareVersion}}

FirmwareVersion
---------------
{2.78 Apr 28 2021, P89 v2.90 (04/29/2021), P89 v2.80 (10/16/2020), 2.10.83...}

 

there must be a way to grab only the value P89 v2.90 (04/29/2021) from the property within the firmware version

Thank you if you have any insight how to grab it

2 REPLIES 2
support_s
System Recommended

Re: pull ONLY the system ROM information via Powershell HPEBIOS/HPEILO Commandlets

Hi

We do not have a cmdlet to get only the BIOS version from the servers. 

You can use below commands from powershell to retrieve a targeted information. 

 

PS C:\> $connection = Connect-HPEBIOS -IP -Username -Password> -DisableCertificateAuthentication

PS C:\> $connection.TargetInfo

 

which can give the below information. 

 

for example: 


ProductName        : ProLiant DL380 Gen10
ServerFamily       : ProLiant
ServerGeneration   : Gen10
ServerModel        : DL380
iLOGeneration      : iLO5
iLOFirmwareVersion : 2.44
SystemROM          : U30 v2.42 (01/23/2021)
ProcessorName      : Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz

 

For reference: https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-a00020913en_us


Accept or Kudo

Infra4
Senior Member
Solution

Re: pull ONLY the system ROM information via Powershell HPEBIOS/HPEILO Commandlets

Thank you but the problem i found with the HPEBIOS commandlets are that i could not grab only the version that i wanted.

I have figured out using the HPE ILO COmmandlets that i was able to pick up on the information i wanted because i would then insert this information into an excel spreadsheet to update dynamically the ILO and BIOS version of all my HP Servers.

For the ILO:

PS> (Get-HPEiLOFirmwareVersion -Connection $connection).FirmwareVersion
2.78

For the BIOS: 

PS> ((Get-HPEiLOServerInfo -Connection $connection).FirmwareInfo | where FirmwareName -Like "System ROM").Firmwareversion
P89 v2.90 (04/29/2021)