Powershell script that will alert me when a certain windows event occurs
Hi. I've been trying to get this working but I've seemed to have hit a brick wall.
Trying to figure out a way to establish an email alert that will let me know when a certain Windows EventID happens.
Preferably I want this set up in SQL server as a job because you can access the powershell subsystem in the job steps, and set a job schedule therein but I'm open to having it set up any other way
I've seen a couple of posts on some forums that were helpful but not helpful enough for me to get this over the line.
A number of them use powershell and then Task scheduler to run a task, this link was helpful and I followed the steps but it is still not working:
Please let me know