Hello,
i need a Powershell Script which Loops in a Log File ~last 20 Lines and checks for a Error Code, if the Error Code is found it should restart a service
I have an Application which uses an Error Log, i would like to search the error log for 1 specific error and get a notification for it.
How do i implement that?
Is there a way to receive a second notification within a timeframe when i allready got one?
Example:
RAM Usage is 90% and we receive an mail.
Nobody had time for the notification
and the usage stays high for 2 hours, is there a way to get a second notification?