Set Power Plan

Microsoft.SystemCenter.PowerManagement.Windows.Server.2008.SetPowerPlanTask (Task)

The task sets the power plan of Windows Server 2008 R2 computer.

Knowledge Base article:

Summary

This task sets the power plan that should be used by the server.

Element properties:

TargetMicrosoft.Windows.Server.2008.R2.OperatingSystem
AccessibilityInternal
CategoryCustom
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction Microsoft.SystemCenter.PowerManagement.Windows.Server.2008.SetPowerPlan.WriteAction Default

Source Code:

<Task ID="Microsoft.SystemCenter.PowerManagement.Windows.Server.2008.SetPowerPlanTask" Accessibility="Internal" Enabled="true" Target="WindowsServer2008Discovery!Microsoft.Windows.Server.2008.R2.OperatingSystem" Timeout="300" Remotable="true">
<Category>Custom</Category>
<WriteAction ID="WA" TypeID="Microsoft.SystemCenter.PowerManagement.Windows.Server.2008.SetPowerPlan.WriteAction">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<NewPowerPlanName>Balanced</NewPowerPlanName>
<TimeoutSeconds>300</TimeoutSeconds>
</WriteAction>
</Task>