A while back when I was working with the legendary Jon Almquist, I picked up this little gem from him. I don't know where he got it from. He probably just whipped it up in a matter of minutes, knowing him. I thought I might post it here as it has proved to be very useful and others may find the same.
Once the MP is imported, you simply copy/paste the following line into a command prompt on an agent-managed computer:
EventCreate /T ERROR /ID 101 /L APPLICATION /SO TEST /D "This is a synthetic transaction test only. Disregard this event. Note: This alert was generated by entering the below command into a command pompt on the server in question:> EventCreate /T ERROR /ID 101 /L APPLICATION /SO TEST /D
12/10/2014: The .xml file was missing a single character at the end of the file. Weird. Uploaded the .zip again. Should be fine now.12/3/2014: Updated file link to .zip instead of .xml. Minor wording change.