Skip to main content

uefipassword command

Use the uefipassword command to set or change the power-on and administrator passwords.

uefipassword command syntax

OneCli.exe [misc] uefipassword < --admin -oldpwd<arg> --newpwd<arg>> [options]
Table 1. uefipassword command specific parameters
ParameterRequired/OptionalNotes
--adminOptionalSet or change the administrator password.
--forceOptional

Force to execute the command without user interaction.

--newpwdOptionalSpecify the new password, If this parameter is not specified, the default value is empty and the old password will be deleted.
--oldpwdOptionalSpecify the old password, If this parameter is not specified, the default value is empty and a new password will be added.
--poweronOptionalSet or change the power-on password.
--quiet, -qOptional

This parameter answers yes for all questions, and decreases the outputs displayed on screen.

  • --bmc/imm, -b

  • --bmc-username, -u

  • --bmc-password, -w

  • --bmc-rest-port

  • --check-trust, -C

  • --config

  • --help,-h

  • --never-check-trust, -N

  • --node, -n

  • --nolog, -n

  • --output, -o

Optional

Refer to Table 2.

Example of the uefipassword command

OneCli.exe misc uefipassword --admin --newpwd Passw0rd123% --bmc USERID:PASSW0RD@xx.xx.xx.xx