Create HP BIOS Repository using PowerShell

First off, I love SCConfigMgr Driver / BIOS download tool, super powerful and fully featured.

Sometimes you just want a lightweight script to run that will do a specific task over and over.

Using the HP Client Management Script Library, Documentation HERE, I’ve created a simple Script that will go through a list of models that I’ve created, and download the BIOS Files, then extract the bin file to a separate directory. (I delete all of the extra support EXE files, as I’d only want one set in my entire package, not one for each model)  After this, I can then create a package around it, and deploy.  I’m not including that process here today, just the download.  I’ll probably blog more on this topic in the future, along with a script that runs locally on the machine that requires the update, which will download the update right from HP, then install it… but not today... UPDATE.. YES TODAY! Check it out HERE

Today, simple script to download BIOS file right from HP.

  1. Downloads BIOS for specified Models in Script into Download Source Folder Structure
  2. Extracts BIOS & Updater into "Package" Folder Structure
  3. If you re-run
    1. Skips current BIOS downloads by comparing Download Structure to what is available from HP
    2. if it finds updated BIOS available
      1. Downloads Updated BIOS into New Folder (Download Structure)
      2. Deletes old Package Contents and Updates it with the new BIOS (Package Structure)

 

Running Script:
image

File Output – Downloads Folder:
image

Extracted Folder:

image

Posted at GARYTOWN.COM

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.