rutgermons
asked on
powershell filter/match help
folks
my powershell script searches for a specific value i.e. ERROR in another log file
Get-Content TEST.log -wait | where { $_ -match “Error” } |out-file logger.txt -append
how can i get it to search multiple values? i.e ERROR and INCIDENT
keen for your thoughts
my powershell script searches for a specific value i.e. ERROR in another log file
Get-Content TEST.log -wait | where { $_ -match “Error” } |out-file logger.txt -append
how can i get it to search multiple values? i.e ERROR and INCIDENT
keen for your thoughts
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window