Summary
Creates a password file compatible with HP BIOS Configuration Utility (BCU)
Syntax
Write-HPFirmwarePasswordFile [-Password] <String> [[-Outfile] <FileInfo>] [<CommonParameters>]
Description
This command creates a password file that is compatible with the HP BIOS Configuration Utility (BCU). The command is roughly equivalent to running the HpqPswd tool with the following arguments:
hpqpswd /s /p"password" /f"outfile"
Parameters
Name | Argument | Description |
---|---|---|
Password | <String> | Specifies the password to encode into the target file |
Outfile | <FileInfo> | Specifies the file to create. If not specified, this command will attempt to create a file in the current directory named 'password.bin'. |
Notes
- Use single quotes around the password to prevent PowerShell from interpreting special characters in the string.
Examples
PS C:\> Write-HPFirmwarePasswordFile -password 'mysecret' -outfile mysecret.bin