Intel AMT Features > Agent Presence > Use Cases > Cancel a Pending Expiration-Triggered Reboot
CollapseAll image

Cancel a Pending Expiration-Triggered Reboot

When an agent watchdog expires, there is a user-defined interval that must pass before any associated reboot is triggered. During this interval, the pending reboot can be averted as follows:

1.  Retrieve the instance of IPS_WatchDogAction, “Intel (r) AMT Watch Dog Action”.

2.  Invoke the CancelRebootAction method.

 

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.

  

if($fwVersion.ToString() -ge "11.0")

{

  $watchDogActionRef  =$wsmanConnectionObject.NewReference("SELECT * FROM IPS_WatchDogAction WHERE InstanceID='Intel (r) AMT Watch Dog Action'")

  $inputObject =$watchDogActionRef.CreateMethodInput("CancelRebootAction")

  $outputObject = $watchDogActionRef.InvokeMethod($inputObject)

  $returnValue = $outputObject.GetProperty("ReturnValue")

}

 

 

Classes Used in This Flow

IPS_WatchDogAction

See Also:

   Agent States

   Agent Watchdog Timers and Actions

   Set the Agent Watchdog Expiration Action

   Get the Agent Watchdog Expiration Action

Copyright © 2006-2022, Intel Corporation. All rights reserved.