I don't think you can get access to the Server's Event log system other than the Application Log. You can write to the Application log using WSH like this:
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.LogEvent 0, "My application succeeded.", "\\YourServerName"
If the script is being run on "YourServerName" in this case, then that line would omit the UNC reference to the server, like this:
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.LogEvent 0, "My application succeeded."
The number codes are:
0 = Success
1 = Failure
2 = Warning
4 = Information
The event will be recorded and having come from "Windows Script Host" so when you read the log, you need to look for this source.
Did that help?
mmcdonal
Look it up at:
http://wrox.books24x7.com