Technical White Paper
Target: This parameter is the FQDD of the
BIOSAttribute
instances (from Section 17.1)
EXAMPLE:
wsman invoke -a DeletePendingConfiguration
http://schemas.dmtf.org/wbem/wscim/1/cimschema/
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 DeletePendingConfiguration_BIOS.xml -j utf-8 -y basic
The input file DeletePendingConfiguration_BIOS.xml is shown below:
<p:DeletePendingConfiguration_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:DeletePendingConfiguration_INPUT>
OUTPUT:
<n1:DeletePendingConfiguration_OUTPUT>
<n1:Message>The command was successful</n1:Message>
<n1:MessageID>BIOS001</n1:MessageID>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:DeletePendingConfiguration_OUTPUT>
17.9 Managing BIOS Passwords
The ChangePassword() method is used to set the BIOS passwords. You can either set, change or
delete the BIOS system or setup password. Setting the BIOS password is performed in several stages
as described in the following sections.
17.9.1 Setting the BIOS Password
The following example sets the BIOS system password to “NEW_PASSWORD”. Three instances of
XML are shown below to demonstrate the following scenarios:
No BIOS password is set
Changing an existing BIOS password
Deleting an existing BIOS password
Invoke ChangePassword() method with the following parameters:
Target - Obtained from any BIOS enumerate WS-Man 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/cimschema/
2/root/dcim/DCIM_BIOSService