(Lenovo) Set/Unset Power Threshold

IBM.WinComputer.SetPowerThreshold (Task)

Set/Unset Warning or Critical Power Threshold. If you specify a blank or zero value for a particular threshold, that threshold will be reset to its default value. Refer to the Detail View of this system under the Lenovo Windows System Group to see the current threshold values and the MonitoringCapable property. The target system must be capable of monitoring in order to execute this task.

Element properties:

TargetIBM.WinComputer
AccessibilityPublic
CategoryCustom
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
PA WriteAction IBM.Windows.SetPowerThreshold Default

Source Code:

<Task ID="IBM.WinComputer.SetPowerThreshold" Accessibility="Public" Enabled="true" Target="IBM.WinComputer" Timeout="300" Remotable="true">
<Category>Custom</Category>
<WriteAction ID="PA" TypeID="IBM.Windows.SetPowerThreshold">
<PowerThresholdWarning>$Target/Property[Type="IBM.WinComputer"]/PowerThresholdWarning$</PowerThresholdWarning>
<PowerThresholdCritical>$Target/Property[Type="IBM.WinComputer"]/PowerThresholdCritical$</PowerThresholdCritical>
<AgentLicenseLevel>$Target/Property[Type="IBM.WinComputer"]/Licensed$</AgentLicenseLevel>
<FirmwareType>$Target/Property[Type="IBM.WinComputer"]/FirmwareType$</FirmwareType>
<DirAgentVer>$Target/Property[Type="IBM.WinComputer"]/PlatformAgentInfo$</DirAgentVer>
</WriteAction>
</Task>