Home > Commands A-M > Commands E

EVENTCREATE


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Enables an administrator to create a custom event in a specified event log.


Syntax

EVENTCREATE /?

EVENTCREATE [/s computer [/u [Domain\]User [/p password]]] [/l log] | [/so source_name] /d description /id event_id /t type


Parameters

none.


Switches
/? (NTXP)
Displays help.
/d description (NTXP)
Specifies the description to use for the newly created event.
/id event_id (NTXP)
Specifies the event ID for the event. A valid event_id is any number from 1 to 65535.
/l log (NTXP)
Specifies the name of the event log where the event will be created. The valid log names are: Custom events cannot be written to the security log.
/p password (NTXP)
Specifies the password of the user account that is specified in /u.
/s computer (NTXP)
Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer.
/so source_name (NTXP)
Specifies the source to use for the event. A valid source can be any string and should represent the application or component that is generating the event.
/t source_name (NTXP)
Specifies the type of event to create. The valid types are:
/u [Domain\]User (NTXP)
Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command.

Related

none.


Notes

Custom events cannot be written to the security log.


Examples

none.


Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NTXP NT2003

Last Updated: 2003/07/28
Direct corrections or suggestions to: Rick Lively