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.


You simply copy/paste the following line into a command prompt:

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