Skip to content

Instantly share code, notes, and snippets.

View christophergithub2021's full-sized avatar

christophergithub2021

View GitHub Profile
@SMSAgentSoftware
SMSAgentSoftware / Invoke-HPBIOSUpdate.ps1
Last active January 23, 2024 06:01
Silently updates an HP BIOS using HP Image Assistant
#####################
## HP BIOS UPDATER ##
#####################
# Params
$HPIAWebUrl = "https://ftp.hp.com/pub/caps-softpaq/cmit/HPIA.html" # Static web page of the HP Image Assistant
$BIOSPassword = "MyPassword"
$script:ContainerURL = "https://mystorageaccount.blob.core.windows.net/mycontainer" # URL of your Azure blob storage container
$script:FolderPath = "HP_BIOS_Updates" # the subfolder to put logs into in the storage container
$script:SASToken = "mysastoken" # the SAS token string for the container (with write permission)