White Papers

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
186
+SystemName=DCIM:ComputerSystem
+Name=DCIM:BIOSService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck
-encoding:utf-8 -a:basic -file:SetAttribute_BIOS.xml
The input file SetAttribute_BIOS.xml is shown below:
<p:SetAttribute_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:AttributeName>BootMode</p:AttributeName>
<p:AttributeValue>Bios</p:AttributeValue>
</p:SetAttribute_INPUT>
OUTPUT:
SetAttribute_OUTPUT
Message = The command was successful
MessageID = BIOS001
RebootRequired = Yes
ReturnValue = 0
SetResult = Set PendingValue
17.4 Setting Multiple BIOS BootMode Parameters
Users can find and set multiple BIOS attributes associated with a specific device using the
SetAttributes() method. This example illustrates how to set the BiosMode and BootSeqRetry
parameters.
Invoke SetAttributes() with the following parameters (from Section 17.1) and syntax:
TARGET: Obtained from the InstanceID field
AttributeName: Obtained from the AttributeName field
AttributeValue: Obtained from the PossibleValues field
EXAMPLE:
winrm i SetAttributes 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:SetAttributes_BIOS.xml
The input file SetAttributes_BIOS.xml is shown below: