Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Win32_PowerPlan class

Represents a power plan on a system. A power plan or scheme consists of a group of power settings and preference information. Each power plan is identified through a unique GUID as well as by a friendly name. Windows power plans also have a personality attribute that indicates the overall power savings behavior of the plan. Multiple power plans can exist; however, each computer can have only a single active power plan in effect at any given time.

A WMI consumer can enumerate all instances of Win32_PowerPlan to get all the power schemes that currently exist on the system. The active Win32_PowerPlan can be obtained by examining the IsActive property on the instance. The Activate method will make the power plan the active plan on the system.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.


[Provider("PowerWmiProvider"), Dynamic]class Win32_PowerPlan : CIM_SettingData
  string  InstanceID;
  string  ElementName;
  string  Description;
  boolean IsActive;


The Win32_PowerPlan class has these types of members:


The Win32_PowerPlan class has these methods.


Makes the power scheme the active one on the system.



The Win32_PowerPlan class has these properties.

Data type: string
Access type: Read-only

Specifies the description of the power plan.

Data type: string
Access type: Read-only

Specifies the friendly name of the power plan.

Data type: string
Access type: Read-only

Defines the unique identifier for the power plan instance.

The InstanceID string must be in the following format: "Microsoft:PowerPlan\{Plan_GUID}".

Data type: boolean
Access type: Read-only

Indicates whether the power scheme is currently active on the system. This property is set to TRUE if the power scheme is active; otherwise, it is set to FALSE.


Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2







Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.