Practices Guide
Lifecycle Controller Integration―Best Practices Specification
117
21.3 Get the first Memory’s Information
Use the following procedure to get a single memory 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: none
Set desired instanceID by editing script
Script: GetMemoryView.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) GetMemoryView(): GET the DCIM_MemoryView instance using the InstanceID=
DIMM.Socket.A1. See Section 2.3 for a definition of
GET.
The instance of DCIM_MemoryView that contains the information on the first memory DIMM will
be returned.
22 PCI Device Profile Use Cases
22.1 Discovery of PCI Device Profile Support
Use the following procedure below to confirm the existence of PCI Device profile support.
Applies to: LC1.5.0+
Prerequisites for script: none
Script: GetPCIDeviceProfile.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) GetLCRegisteredProfiles(): ENUMERATE the DCIM_LCRegisteredProfile class to view all
registered profiles. See section 2.2 for a definition of
ENUMERATE .
C) Search for “RegisteredName=PCI Device” 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:PCIDevice:1.0.0 shown below. If no instance is returned, the
profile is not supported.