Change Event Id when logging into NT Event viewer

Hello,

I have to log some events into the NT Event viewer in order to generate alerts with SCOM.

Unfortunately, the logged events only have an id from 1 to 4 and seem to correspond to the severity. Is there a way to change that value or do i have other options ?

Thanks for any solution or idea.

Subject: Not native solution - but might do it…

Check out the command line event logging utility -http://support.microsoft.com/kb/315410

In script -

ExeDir="\Path\Folder"

Shell(ExeDir + "Progarm.exe -parm " + Parm1 + " -parm2 " + parm2 + " -parm3 " + parm3)

If not via script, @command([Execute]) may do it too.