LOGEVENT (Resource kit)

Write text to the event log (event viewer)

Syntax
      logevent [-m \\MachineName] [options] "Event Text"
Options
  -s Severity   one of 
               (S)uccess 
               (I)nformation 
               (W)arning 
               (E)rror
               (F)ailure

  -c Category   A Number between 0 and 65536
                This can be used to Filter the event log view
                (default = "none")

When a fellow says, "It ain't the money but the principle of the thing," it's the money. - Kim Hubbard

Related

EVENTCREATE Add a custom message to the Windows event log
EVENTQUERY - Read an event log message
EVENTTRIGGERS - Display and configure Event Triggers
NET SEND - Manage network resources (Popup message)
Powershell: Get-Eventlog - Get / write eventlog data
WshShell.LogEvent - Log an item in the Event log
WMIC NTEVENTLOG - WMI access to the event log
Q131008 - Use eventlog from a batch file


© Copyright SS64.com 1999-2013
Some rights reserved