White Papers

99 Lifecycle Controller Integration Best Practices Guide
12 Power State Management Profile Use Cases
12.1 Discovery of Power State Management Profile Support
Use the following procedure below to confirm the existence of Power State Management profile support.
Note: Prior to LC2.0.0, this profile resided as a CIM profile, not LC profile.
Applies to: LC1.5.0+
Prerequisites for script: none
Script: GetPowerStateMGMTProfile.win
A) The Lifecycle Controller remote service must be in a “ready” state before running 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) [LC1.5.0/LC1.5.1]GetCIMRegisteredProfiles():
[LC2.0.0]GetLCRegisteredProfiles():
ENUMERATE the applicable class to view all registered profiles. See section 2.2 for a ENUMERATE.
C) Search for “RegisteredName=Power State Management” and note its instanceID to use in step D)
D) [LC1.5.0/LC1.5.1] GetCIMRegisteredProfile(): [LC2.0.0] GetLCRegisteredProfile():
GET the applicable instance using the InstanceID from C). See Section 2.3 for a definition of GET.
Results for the InstanceID of DCIM:PowerStateManagement:1.0.0 shown below. If no instance is returned, the profile is
not supported.
DCIM_LCRegisteredProfile
AdvertiseTypeDescriptions = WS-Identify
AdvertiseTypeDescriptions = Interop Namespace
AdvertiseTypes = 1
AdvertiseTypes = 1
InstanceID = DCIM:PowerStateManagement:1.0.0
OtherRegisteredOrganization = DCIM
ProfileRequireLicense
ProfileRequireLicenseStatus