Get-HPBIOSSettingsList



Summary

Retrieve all BIOS settings

Syntax

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

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

Description

Retrieve all BIOS settings on a machine, either as native objects, or as a specified format.

Parameters

Name Argument Description
Format <String> This parameter allows to specify the formatting of the result. Possible values are:

* 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
NoReadonly When true, don't include read-only settings into the response. Default is false.
ComputerName <String> Execute the command on specified target computer. If not specified, the command is executed on the local computer.
CimSession <CimSession> A pre-established CIM Session (as created by New-CIMSession cmdlet). Use this to pass a preconfigured session object to optimize remote connections or specify the connection protocol (Wsman or DCOM). If not specified, the function will create its own one-time use CIM Session object, and default to DCOM protocol.

Notes

  • Although the function supports BCU, note that redirecting the function'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 consider using bios-cli.ps1.
  • BIOS settings of type 'password' are not output 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