Windows Server 2008 R2 Set Power Budget Write Action

Microsoft.SystemCenter.PowerManagement.Windows.Server.2008.SetPowerBudget.WriteAction (WriteActionModuleType)

Element properties:

TypeWriteActionModuleType
IsolationAny
AccessibilityInternal
RunAsDefault
InputTypeSystem.BaseData
OutputTypeSystem.CommandOutput

Member Modules:

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

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
NewPowerBudgetint$Config/NewPowerBudget$New power budget in Watts
TimeoutSecondsint$Config/TimeoutSeconds$Timeout in seconds

Source Code:

<WriteActionModuleType ID="Microsoft.SystemCenter.PowerManagement.Windows.Server.2008.SetPowerBudget.WriteAction" Accessibility="Internal" Batching="false">
<Configuration>
<xsd:element name="ComputerName" type="xsd:string"/>
<xsd:element name="NewPowerBudget" type="xsd:integer"/>
<xsd:element name="TimeoutSeconds" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="NewPowerBudget" Selector="$Config/NewPowerBudget$" ParameterType="int"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<WriteAction ID="WA" TypeID="Microsoft.SystemCenter.PowerManagement.Windows.Server.2008.PowerConsumptionControl.WriteAction">
<ComputerName>$Config/ComputerName$</ComputerName>
<ChangePowerBudget>true</ChangePowerBudget>
<NewPowerPlanName/>
<NewPowerBudget>$Config/NewPowerBudget$</NewPowerBudget>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="WA"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.CommandOutput</OutputType>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>