Web Services Interface Guide

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
212
Deleting an existing BIOS password
Invoke ChangePassword() method with the following parameters:
Target - Obtained from any BIOS enumerate WSMAN command
PasswordType - Either 1 for system or 2 for setup
OldPassword Reference following XML case A), B) or C)
NewPassword - Reference following XML case A), B) or C)
EXAMPLE:
wsman invoke -a ChangePassword http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_BIOSService
?SystemCreationClassName=DCIM_ComputerSystem,
CreationClassName=DCIM_BIOSService,SystemName=DCIM:ComputerSystem,
Name=DCIM:BIOSService -h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -J change_bios_password.xml -j utf-8 -y basic
The input file change_bios_password.xml is shown below:
No BIOS password is set: The OldPassword parameter is not required. It may be set to “null”
or left blank as shown below.
Changing an existing BIOS password: Both the OldPassword and NewPassword parameters are
required. NOTE: Entering only the NewPassword parameter indicates a “pass” in the setting
and creating a new job, however the job fails.
Deleting an existing BIOS password: The OldPassword parameter is required. The
NewPassword parameter may be set to “null”, set to blank, or omitted completely.
<p:ChangePassword_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-schema
/2/root/dcim/DCIM_BIOSService">
<p:Target>BIOS.Setup.1-1</p:Target>
<p:PasswordType>1</p:PasswordType>
<p:OldPassword></p:OldPassword>
<p:NewPassword>NEW_PASSWORD</p:NewPassword>
</p:ChangePassword_INPUT>
OUTPUT:
Either of the following may result:
<n1:ChangePassword_OUTPUT>
<n1:Message> BIOS does not support Change Password
feature </n1:Message>