Get-HPBIOSPowerOnPasswordIsSet



Summary

Check if the BIOS Power-On password is set

Syntax

Get-HPBIOSPowerOnPasswordIsSet [[-ComputerName] <String>] [<CommonParameters>]

Get-HPBIOSPowerOnPasswordIsSet [-CimSession] <CimSession> [<CommonParameters>]

Description

This function returns $true if a BIOS power-on password is currently active, or $false otherwise.

Parameters

Name Argument Description
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

Changes in the state of the BIOS Power-On Password may not be visible until the system is rebooted and the POST prompt is accepted to enable the BIOS Power-On password.

Examples


PS C:\> Get-HPBIOSPowerOnPasswordIsSet

See also