White Papers

LC Integration Best Practices Specification
125
28.4 Inventory of all system attributes in system
Use the following procedure below to list the inventory of all system attributes in the system
using the DCIM_SystemAttribute class. The instances from the following classes will be returned:
DCIM_SystemEnumeration, DCIM_SystemInteger, DCIM_SystemString.
Applies to: LC2+
Prerequisites for script: none
Script: GetSystemAttributes.win
A) The Lifecycle Controller remote service must be in a “ready” state before executing any
other WSMAN commands.
GetRemoteServicesAPIStatus():
B) GetSystemAttributes(): ENUMERATE the DCIM_SystemAttribute class to view all
instances of the attributes: DCIM_SystemEnumeration, DCIM_SystemInteger, and
DCIM_SystemString. See section 2.2 for a definition of ENUMERATE .
The instance information of all available system attributes will be returned.
28.5 Get a single system string attribute
Use the following procedure below to get a single system attribute in the system.
Applies to: LC2+
Prerequisites for script: Set desired instanceID by editing script
Script: GetSystemString.win
A) The Lifecycle Controller remote service must be in a “ready” state before executing any
other WSMAN commands.
GetRemoteServicesAPIStatus():
B) GetSystemString(): GET the instance using the desired class’s InstanceID. See Section 2.3
for a definition of GET.
The instance that contains the information on the attribute will be returned.
28.6 Setting and applying system attributes
The following procedure sets a system attribute and applies the new configuration.