The following steps describe how to delete an agent watchdog’s actions.
The DeviceID is the ID of the Agent watchdog in Base64 format.
2. Invoke AMT_AgentPresenceWatchdog.DeleteAllActions.
Click here for a snippet demonstrating this step
You can execute this snippet by inserting it into the execution template found here.
$deviceID =# The ID of the agent watchdog in Base64 format, provided when the AMT_AgentPresenceWatchdog was created.
$agentPresenceWatchdogRef =$wsmanConnectionObject.NewReference("SELECT * FROM AMT_AgentPresenceWatchdog WHERE DeviceID='" +$deviceID +"'")
The AMT_ AgentPresenceWatchdog.DeleteAllActions() method deletes all AMT_StateTransitionCondition instances associated to the AMT_AgentPresenceWatchdog and the CIM_ConcreteDependency instances that associate them. In addition, all AMT_AgentPresenceWatchdogAction instances associated to the AMT_StateTransitionCondition are deleted as well as the CIM_ConcreteDependency instances that associate them.
Classes Used in This Flow
If there is a sample demonstrating this flow, it is included in the SDK installation file. See SDK Installation Layout for details.
Copyright © 2006-2022, Intel Corporation. All rights reserved.