Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Parse a log file for specific string

$
0
0

I have a log file that when it receives a specific error code I would like to be notified so that I don't have to keep checking it randomly through out the day.  The log file is cleared when the job starts but if there is an issue with the job it will write to the log file with a specific error code.  It will also write to the log file if the job finishes successfully as well.  The job is started using a batch file.

 I am new to PowerShell so any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 6937

Trending Articles