Get-HPBIOSSettingsList



Summary

Retrieves all BIOS settings on the current device unless specified for another platform

Syntax

Get-HPBIOSSettingsList [[-Format] <String>] [[-NoReadonly]] [[-ComputerName] <String>] [[-CimSession] <CimSession>] [<CommonParameters>]

Get-HPBIOSSettingsList [[-Format] <String>] [[-NoReadonly]] [[-ComputerName] <String>] [[-CimSession] <CimSession>] [<CommonParameters>]

Description

This command retrieves all BIOS settings on the current device unless specified for another platform as native objects or in a specified format.

Parameters

Name Argument Description
Format <String> Specifies the format of the result. The value must be one of the following values:

- BCU: format as HP BIOS Config Utility input format
- CSV: format as a comma-separated values list
- XML: format as XML
- JSON: format as JSON
- brief: (default) format as a list of names

If not specified, the default PowerShell formatting is used.
NoReadonly If specified, this command will not include read-only settings in the result.
ComputerName <String> Specifies a target computer for this command to create its own one-time-use CIMSession object using with. If not specified, this command will use the current device as the target computer for this command. The alias 'Target' can also be used for this parameter.
CimSession <CimSession> Specifies a pre-established CIMSession object (as created by the New-CIMSession command) or a ComputerName in string format for this command to create a one-time-use CIMSession object with

Notes

  • Although this command supports HP BIOS Config Utility (BCU), note that redirecting the command's output to a file will not be usable by BCU, because PowerShell will insert a unicode BOM in the file. To obtain a compatible file, either remove the BOM manually or use bios-cli.ps1.
  • BIOS settings of type 'password' are not outputted when using XML, JSON, BCU, or CSV formats.
  • By convention, when representing multiple values in an enumeration as a single string, the value with an asterisk in front is the currently active value. For example, given the string "One,*Two,Three" representing three possible enumeration choices, the current active value is "Two".
  • Requires HP BIOS.

Examples


PS C:\> Get-HPBIOSSettingsList -Format BCU