White Papers

144 Lifecycle Controller Integration Best Practices Guide
Script: GetSystemAttributes.win
A) The Lifecycle Controller remote service must be in a “ready” state before running 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 running 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.
Applies to: LC2+
Prerequisites for script: Set desired values by editing script
Script: SetSystemAttribute.win
A) The Lifecycle Controller remote service must be in a “ready” state before running any other WSMAN commands.
GetRemoteServicesAPIStatus():
B) GetSystemAttributes(): ENUMERATE the DCIM_SystemAttribute class to view all instances of the attributes from
the following classes: DCIM_SystemEnumeration, DCIM_SystemInteger, and DCIM_SystemString. See section 2.2 for
a definition of ENUMERATE.
C) Confirm correct FQDD and that the IsReadOnly field is set to false