Provides administrators with the ability to post events to event logs.
eventcreate [/s computer [/u domain\user [/p passwd]] [/l application | system] | [/so srcname] [/t error | warning | information | successaudit | failureaudit] [/id event] [/d description]
Parameters | |
---|---|
| |
Parameter | Purpose |
| |
[/s] | Specifies the name of the target computer. |
[/u] | Executes the command using the permission assigned to the specified user. |
[/p] | Specifies the user's password. |
[/l application | system] | Specifies the target event log. |
[/so srcname] | Sets the event source. |
[/t error | warning | information | successaudit | failureaudit] | Identifies the event type. |
[/id event] | Sets the event type (between 1–65535). |
[/d description] | Specifies an event description. |