We are using SCOM 2019
we created a rule in SCOM that runs a powershell script to check the age of a file. the script is working fine.
is there a way to create an alert in SCOM to alert us if the following happens:
Alert us if the PS script was not able to run
OR
Alert us if the file we are monitoring was not found in folder.
I'm not sure how to accomplish this. any assistance or guidance is appreciated
thank you