Alarms Triggered by Script doesn't get auto clear when next poll says ok

Alarms Triggered by Script doesn't get auto clear when next poll says ok

Hi Everyone,

I have a question regarding a set of PowerShell scripts I’m using to monitor our Windows 10 devices. Here’s the scenario:

I’ve implemented a script that checks the devices listed in Device Manager. If any required device is missing, the script triggers an alarm to alert us. This script runs on all devices every 15 minutes, and we currently have about 300 Windows 10 machines in our environment.

The issue I’m facing is this:
When the script runs for the first time and detects a missing device, it correctly triggers an alarm. However, during the next poll (after 15 minutes), if the previously missing device is now detected, the alarm does not automatically clear.

Is there any configuration or adjustment needed to ensure the alarm auto-clears if the issue is resolved in the next poll?

I’d appreciate any guidance or suggestions. Thank you!

                  New to ADSelfService Plus?