Clear-HPBIOSPowerOnPassword



Summary

Clears the BIOS Power-On password on the current device unless specified for another platform

Syntax

Clear-HPBIOSPowerOnPassword [[-Password] <String>] [[-ComputerName] <Object>] [<CommonParameters>]

Clear-HPBIOSPowerOnPassword [[-Password] <String>] [-CimSession] <CimSession> [<CommonParameters>]

Description

This command clears any active power-on password on the current device unless specified for another platform.

Parameters

Name Argument Description
Password <String> Specifies the existing setup (not power-on) password. Use the Get-HPBIOSSetupPasswordIsSet command to determine if a password is currently set. See important note regarding the BIOS Setup Password prerequisite below.
ComputerName <Object> 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

  • Requires HP BIOS.
  • Use single quotes around the password to prevent PowerShell from interpreting special characters in the string.
  • For many platform families, an active BIOS password is required to change the Power-On password. If BIOS Setup password is not set, set the BIOS Setup password before using this command.

Examples


PS C:\> Clear-HPBIOSPowerOnPassword -Password 's3cr3tpassword'

See also