White Papers

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
191
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:
winrm i 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
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]//wsman -SkipCNcheck -SkipCAcheck
-encoding:utf-8 -a:basic -file:change_bios_password.xml
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:
ChangePassword_OUTPUT
Message = BIOS does not support Change Password feature
MessageID = BIOS019
ReturnValue = 2
ChangePassword_OUTPUT
Message = The command was successful
MessageID = BIOS001