Quantcast
Channel: THWACK: Popular Discussions - Script Lab
Viewing all articles
Browse latest Browse all 9937

I need to modify the PowerShell Log monitor script to search for error, but exclude any lines in the log file that contain "error|gcp_payment"

$
0
0

I am unable to add any exclusions with the built in PowerShell Log monitor.  Can I get a modified script to check for the word error in a log file, but exclude any line that has the following text "erro|gcp_payment"


Viewing all articles
Browse latest Browse all 9937

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>