Enumerating Windows Event log manual reset monitors

Couple of days ago I saw a question about how can one find out the list of manual reset event log monitors in a management group. Given that this is a little bit tricky I decided to post a sample so that others could see how to do it as well. Attached is a powershell script that will dump a list of Windows Event log manual reset monitors. All you need to do in order to execute the script is just open up the OpsMgr command shell and type the path of the script (C:\GetManualResetEventLogMonitors.ps1).

 

GetManualResetEventLogMonitors.zip