ProLiant Servers (ML,DL,SL)
1752807 Members
6146 Online
108789 Solutions
New Discussion юеВ

Re: Revert BIOS version with PowerShell

 
SOLVED
Go to solution
NJK-Work
Honored Contributor

Revert BIOS version with PowerShell

We are trying to use PowerShell HPEBIOS module to revert GEN9 BIOS back to previous version - since HPE recently pulled the GEN9 firmward update related to Spectre/Meltdown.  When I try to do the switch, it tells me:

Unable to execute commands on target system.

The process I am trying is:

Grab a credential object for the iLO (confirmed that works)

Connect-HPBIOS using IP of iLO of test server and crednetial object (confirmed that works - I see a valid connection object)

Run this command:

Set-HPBIOSAdvancedSystemROMOption -Connection $Con -ROMSelection Switch_to_Backup_ROM

This generates the above error.  Anyone know what I am doing wrong?  I confirmed the backup ROM is there when you boot up the server and go into the system utilities.

Thanks

NK

6 REPLIES 6
NJK-Work
Honored Contributor

Re: Revert BIOS version with PowerShell

I updated to the latest version of the module (2.0) and now I get this error when I try:

Set-HPEBIOSAdvancedSystemROMOption : Sequence contains no elements

Any ideas?

NK

Erdogan Temur
HPE Pro

Re: Revert BIOS version with PowerShell

Hi,

BIOSROM image switch Procedure

From the System Utilities screen, select System Configuration > BIOS/Platform Configuration (RBSU) > Advanced Options > ROM Selection.

Select a setting.

Use Current ROM

Switch to Backup ROM - Reverts to the image in use before the last flash event.

Save your setting.

OR

You can do this from within iLO> Information> Diagnostics> Swap ROM.

 

Kind Regards,
Erdogan.
No support by private messages. Please ask the forum!

Accept or Kudo

NJK-Work
Honored Contributor
Solution

Re: Revert BIOS version with PowerShell

So it appears using LDAP credentials to authenticate to the iLO does not allow you to make changes.  My AD credentials have full control to the iLO and I can sucessfully connect using the HPEBIOS cmdlets.  However it will not let me make changes to the ROMSelection.

If I login with the local iLO administrator credentials, then I can switch the BIOS version.

Dont understand why this is...

NK

B_Rajesh
Frequent Advisor

Re: Revert BIOS version with PowerShell

Thank you for writing us,

The reported issue is a bug in BIOS Cmdlets version 2.0.0.0. The fix will be provided in upcoming BIOSCmdlets version (March timeline).

Workload: Please use local iLO user to configure the BIOS settings using HPE BIOS Cmdlets.

 

Regards
Rajesh Balakrishnan
I am a HPE Employee
NJK-Work
Honored Contributor

Re: Revert BIOS version with PowerShell

Thank you.

NK

B_Rajesh
Frequent Advisor

Re: Revert BIOS version with PowerShell

Greetings,

New HPEBIOSCmdlets 2.1.0.0 release is available in web portal.

You can also install through PowerShell GalleryFollow the PowerShell Gallery instructions to install HPEBIOSCmdlets module.

Refer User Guide and Release notes for more details.

Regards
Rajesh Balakrishnan
I am a HPE Employee