I know that it is possible to create a custom event log on a remote machine using:
Const NO_VALUE = Empty
Set WshShell = WScript.CreateObject("WScr
and you can write events to a remote Application event log using:
Const EVENT_SUCCESS = 0
Const EVENT_ERROR = 1
Const EVENT_WARNING = 2
Const EVENT_INFORMATION = 4
Set objShell = Wscript.CreateObject("Wscr
objShell.LogEvent EVENT_ERROR, _
"My custom message." , "\\[REMOTE_COMPUTER]"
But, how would you write a custom event to a custom event log on a remote machine?
FYI, I have already looked at "How To Write to the Windows NT/Windows 2000 System Log by Using the Windows Script Host" ( http://support.microsoft.com/default.aspx?scid=kb%3BEN-US%3B257541
) which does not provide any useful clues.
Need to make sure that this is in VBScript and since I need an answer quickly I will assign maximum points.