Web Services Interface Guide

260 Dell Lifecycle Controller Web Services Interface Guide for Windows
<p:Target>BIOS.Setup.1-1</p:Target> </p:DeletePendingConfiguration_INPUT>
OUTPUT:
DeletePendingConfiguration_OUTPUT
Message = The command was successful
MessageID = BIOS001
ReturnValue = 0
ReturnValue = 4096
17.9 Managing BIOS Passwords
The ChangePassword() method is used to set the BIOS passwords. The user 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 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]