BIOS and Device

This module provides basic querying of device attributes and manipulation of HP BIOS settings and managing the HP BIOS. For more information about HP BIOS Settings, please consult the Understanding HP BIOS Settings page.

The following functionality is currently available:

Querying system attributes

Function Description
Get-HPBiosVersion Retrieve the current BIOS version
Get-HPBiosAuthor Retrieve the current BIOS author
Get-HPDeviceManufacturer Retrieve the current device's manufacturer
Get-HPDeviceModel Retrieve the current device model
Get-HPDevicePartNumber Retrieve the current device Part Number (SKU)
Get-HPDeviceSerialNumber Retrieve the current device serial number
Get-HPDeviceAssetTag Retrieve the current device asset tag
Get-HPDeviceProductID Retrieve the device product ID

Checking BIOS versions

Function Description
Get-HPBiosUpdates Query the list of available updates for a platformID

Working with HP BIOS Settings directly

Function Description
Get-HPBiosSetting Retrieve a complete HP BIOS Setting in a variety of formats
Get-HPBiosSettingValue Retrieve an HP BIOS Setting value
Get-HPBiosSettingsList Retrieve all HP BIOS Settings in a variety of formats
Set-HPBiosSettingValue Set an HP BIOS Setting value
Set-HPBiosSettingValuesFromFile Import BIOS settings from a file

Working with HP BIOS passwords

Function Description
Get-HPBiosSetupPasswordIsSet Check if an HP BIOS Setup password is currently active
Set-HPBiosSetupPassword Set the current BIOS Setup password
Clear-HPBiosSetupPassword Clear the current BIOS Setup password
Get-HPBiosPowerOnPasswordIsSet Check if an HP BIOS Power-On password is currently active
Set-HPBiosPowerOnPassword Set the current BIOS Power-On password
Clear-HPBiosPowerOnPassword Clear the current BIOS Power-On password


Function Description
Get-HPDeviceBootInformation Get boot mode (UEFI vs Legacy), uptime, etc
Get‐HPDeviceDetails Map System IDs to product names or to supported operating systems

Working with UEFI variables

Function Description
Set-UEFIVariable This function sets the value of a UEFI variable. If the variable does not exist, it is created
Get-UEFIVariable This function reads the value of a UEFI variable
Remove-UEFIVariable This function removes a UEFI variable from a well-known or user-supplied namespace