Files
Compose-Files/Backups/Miker/.trash/DFI Health alerts when Domain Controllers are patched and restarted.md
2026-07-20 09:23:17 -04:00

5 lines
639 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
I created an Orchestration Group in MECM named “AD Domain Controllers” and added all the AD domain controllers to this group. I created two scripts, one that will stop and disable the service (AATPsensor) before the server is patched and restarted and another one that will run after the server is restarted to re-enable and start the service (AATPsensor).
 
I added to the script an entry that will create an eventlog event in the System eventlog. EventID number is 21589 that we can search in Splunk to see if this works.
 
write-eventlog -LogName system -source $source -EventId 21589 -EntryType Information -Message $mesg