SCOM Trick 28 – Creating test events

When working on new management pack with monitors or rules that watch the event log for a certain event you might want the possibility to test if it actually works without wrecking your server first to create the event. So in the MOM resource kit there was a tool Event Creator to generate events for testing purposes. Now we also have different methods to do this.
One of the default methods is to use the eventcreate command from a command line. Just type eventcreate /? In an elevated command prompt and you get all the options. One drawback is that it creates events up to ID number 1000. If you want higher you need another method.
Stefan Stranger wrote a PowerShell script to create events:
Also Marnix Wolf wrote about a free tool called pgevent:

Back to the SCOM Tricks general list