CollapseAll image

Get the Currently Active Power Package

The following steps describe how to retrieve the current power package setting.

1.  Find the instance of CIM_ComputerSystem representing the Intel AMT, as described in Discovering CIM_ComputerSystem.

2.  From the CIM_ComputerSystem instance, traverse the CIM_ElementSettingData associations to find instances of AMT_SystemPowerScheme.

3.  Examine CIM_ElementSettingData.IsCurrent.

a.   If the value is 0 or 2, this is not the current active power package. Return to step 2.

b.   If the value is 1, this is the current active power package. Continue with the next step.

4.  Retrieve the AMT_SystemPowerScheme object by invoking AMT_SystemPowerScheme.Get using the following key: CIM_ElementSettingData.SettingData as a reference to the object.

5.  Get the currently active power package GUID by examining AMT_SystemPowerScheme.SchemeGUID.

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.


# Create a reference to the CIM_ComputerSystem instance.

$computerSystemRef =$wsmanConnectionObject.NewReference("SELECT * FROM CIM_ComputerSystem WHERE Name='Intel(r) AMT'")

$elementSettingDataRef =$wsmanConnectionObject.NewReference("CIM_ElementSettingData")


# Traverse to the CIM_ElementSettingData instances that are connected to CIM_ComputerSystem.

foreach($elementSettingDataItem in$elementSettingDataRef.Enumerate("",$null))


    $isCurrent =$elementSettingDataItem.Object.GetProperty("IsCurrent")

    if($isCurrent -like "1")


          # For each instance, check if it is associated to the AMT_SystemPowerScheme instance.



                # Get the AMT_systemPowerScheme object using its EPR.

                $systemPowerSchemeInstance =$elementSettingDataItem.Object.GetProperty("SettingData").Ref.Get()

                $schemeGUID =$systemPowerSchemeInstance.GetProperty("SchemeGUID")







Instance Diagram

Classes Used in This Flow

SDK Sample

If there is a sample demonstrating this flow, it is included in the SDK installation file. See SDK Installation Layout for details.


See Also:

   List of Power Packages

Copyright © 2006-2022, Intel Corporation. All rights reserved.