White Papers

131 Lifecycle Controller Integration Best Practices Guide
23 Sensors Profile Use Cases
23.1 Discovery of Sensor Profile Support
There is currently not a registered Sensor Profile prior to LC2.0. However, the CIM_Sensor class has been implemented,
which returns all the sensor views when enumerated.
Use the following procedure below to confirm the existence of Sensors profile support in LC2.0+.
Applies to: LC2+
Prerequisites for script: none
Script: GetSensorProfile.win
A) The Lifecycle Controller remote service must be in a “ready” state before running any other WSMAN commands.
GetRemoteServicesAPIStatus():
B) GetLCRegisteredProfiles(): ENUMERATE the DCIM_LCRegisteredProfile class to view all registered profiles. See
section 2.2 for a definition of ENUMERATE.
C) Search for “RegisteredName=Sensors” and note its instanceID to use in step D)
D) GetLCRegisteredProfile(): GET the DCIM_LCRegisteredProfile instance using the InstanceID from C). See Section
2.3 for a definition of GET.
Results for the InstanceID of DCIM:Sensors:1.0.0 shown below. If no instance is returned, the profile is not supported.
Note: 12G example output shown here.
DCIM_LCRegisteredProfile
AdvertiseTypeDescriptions = WS-Identify
AdvertiseTypeDescriptions = Interop Namespace
AdvertiseTypes = 1
AdvertiseTypes = 1
InstanceID = DCIM:Sensors:1.0.0
OtherRegisteredOrganization = DCIM
ProfileRequireLicense = Device Monitoring
ProfileRequireLicenseStatus = LICENSED
RegisteredName = Sensors