Write to Windows Eventlog
Hello to you!
Is it possible to write to Windows Eventlog with Object Script?
Tried a bit but having trouble getting it to work. If possible, I would be grateful for a piece of sample code
Regards Michael
Product version: IRIS 2023.1
$ZV: IRIS for Windows (x86-64) 2023.1.3 (Build 517U)
Discussion (0)0
Comments
$zf should work:
w$zf(-100,"/SHELL","eventcreate","/ID",1,"/L","APPLICATION","/T","INFORMATION","/SO","MYEVENTSOURCE","/D","My first log")Thanks Eduard!
I was just looking at something similar. I will try it out
/Michael
After further research, it does not seem possible to use object script to write directly to the Windows event log without using a bridge such as PowerShell or similar