Intel AMT Features > Alarm Clock > Use Cases > Retrieve the Current Alarm Clock Settings
CollapseAll image

Retrieve the Current Alarm Clock Settings

The following procedure describes how to retrieve the current alarm clock settings.

1.  Retrieve the instance of AMT_AlarmClockService, where the “Name” key equals “Intel(r) AMT Alarm Clock Service”.

2.  Examine AMT_AlarmClockService.NextAMTAlarmTime:

        If the value is NULL, there is no current alarm clock setting.

        If it is non-NULL, compare the setting with the current time:

        If the setting is greater than the current time, the wake-up will be in the future.

        If the alarm was set, but it has already occurred and there was no interval set, then the settings revert to NULL.

3.  Examine AMT_AlarmClockService.AMTAlarmClockInterval:

        If the value is NULL, only the first wake-up time applies.

        If the value is not NULL, then periodic wakeup is defined.

Click here for a snippet demonstrating this step

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


$alarmClockServiceRef =$wsmanConnectionObject.NewReference("SELECT * FROM AMT_AlarmClockService WHERE Name='Intel(r) AMT Alarm Clock Service'")

$alarmClockServiceInstance =$alarmClockServiceRef.Get()

$nextAMTAlarmTime =$alarmClockServiceInstance.GetProperty("NextAMTAlarmTime")

if($nextAMTAlarmTime.InternalObject.Text -ne $null)


    $amtAlarmClockInterval =$alarmClockServiceInstance.GetProperty("AMTAlarmClockInterval")




Instance Diagram

Classes Used in This Flow

SDK Sample

Located at:<SDK_root>\Windows\Intel_AMT\Samples\WS-Management\AlarmClock\c#


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