White Papers

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
185
.
17.2 Getting a BIOS Enumeration Instance
Getting one particular instance of the BIOSEnumeration, instead of all instances as shown in Section
17.1, is shown below.
Get a BIOSEnumeration instance with the following parameters and syntax:
[INSTANCEID]: This is obtained from the enumeration in Section 17.1, which shows an
example using BIOS.Setup.1-1:NumLock as an instanceID
EXAMPLE:
winrm g http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_BIOSEnumeration
?InstanceID=[INSTANCE ID]
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck
-encoding:utf-8 -a:basic
OUTPUT:
DCIM_BIOSEnumeration
AttributeName = NumLock
CurrentValue = On
DefaultValue = null
FQDD = BIOS.Setup.1-1
InstanceID = BIOS.Setup.1-1:NumLock
IsReadOnly = false
PendingValue = null
PossibleValues = On, Off
17.3 Changing the BIOS BootMode-SetAttribute()
The SetAttribute() method can be used to apply changes to setting the BootMode configuration to a
given instance.
Invoke SetAttribute() 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 SetAttribute http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_BIOSService
?SystemCreationClassName=DCIM_ComputerSystem
+CreationClassName=DCIM_BIOSService