Use this simple VBScript to write an event in the local event log.
1 2 3 4 5 6 7 8 |
' Write Events to the Local Event Log Const EVENT_SUCCESS = 0 Set objShell = Wscript.CreateObject("Wscript.Shell") objShell.LogEvent EVENT_SUCCESS, _ "Payroll application successfully installed." |