Create an event in a specific event log

eventcreate

  • Create custom entries in the event log.
    Event IDs can be any number between 1 and 1000.
    More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/eventcreate>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

eventcreate /l {{log_name}} /t {{type}} /id {{id}} /d "{{message}}"

click the source code to copy