Technical White Paper
?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>
<n1:MessageID>BIOS019</n1:MessageID>
<n1:ReturnValue>2</n1:ReturnValue>
</n1:ChangePassword_OUTPUT>
<n1:ChangePassword_OUTPUT>
<n1:Message>The command was successful</n1:Message>
<n1:MessageID>BIOS001</n1:MessageID>
</n1:ChangePassword_OUTPUT>
17.9.2 Create Target Configuration Job
Create a configuration job as shown in Section 17.7.
17.9.3 Monitor Set BIOS Password Status
To monitor the job status for setting the BIOS password, get the instance of the corresponding job
as described within the job control provider in Section 10.
Replace [INSTANCE ID] with the actual
jobid
from Section 17.9.1.
EXAMPLE:
wsman get http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LifecycleJob
?InstanceID=[INSTANCE ID] -h $IPADDRESS -V -v -c dummy.cert -P 443