I need a system event I can trigger manually

Jim 271 Reputation points
2023-01-14T15:00:57.8+00:00

I'm working on sending certain alerts to my email and also to trigger other actions. I can use some events in the system log but they either happen too frequently or not frequently enough. I want to find an alert that I can trigger manually that will pop up in the system log on command for testing. It should be unique and not normally occur. I can't seem to come up with anything. Any ideas?

Server 2012 standard

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,075 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426K Reputation points MVP
    2023-01-14T15:06:08.4+00:00

    You may be able to do something via PowerShell.

    Write-EventLog

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful