Practices Guide

Lifecycle Controller IntegrationBest Practices Specification
129
28.3 Get the first System info View’s Information
Use the following procedure to get a single system info instance. The URI for getting particular
instance information is deterministic (i.e the InstanceID will be unique for each instance).
Applies to: LC1.5.0+
Prerequisites for script:
Set desired instanceID by editing script
Script: GetSysteminfoView.win
A) The Lifecycle Controller remote service must be in a “ready” state before executing any
other WSMAN commands. The GetRSStatus() method or the GetRemoteServicesAPIStatus()
method may be used depending on the version of the LC Management registered profile.
B) GetSystemView(): GET the DCIM_SystemView instance using the InstanceID=
System.Embedded.1. See Section 2.3 for a definition of
GET.
The instance of DCIM_SystemView that contains the information on the first system info will be
returned.
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.