ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

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

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.
I am HPE Employee

If this helps you with your issue, please click the thumb to register a Kudo.
If it resolves the issue, please consider marking it as an Accepted Solution.
The comments in this post are my own and do not represent an official reply from the company. No warranty or guarantees of any kind are expressed in my reply.
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
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
HPE PowerShell Team
NJK-Work
Honored Contributor

Re: Revert BIOS version with PowerShell

Thank you.

NK

B_Rajesh
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
HPE PowerShell Team