cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 7

Powershell Log parser for multiple strings

Hi,

I am using the out of the box Powershell script that would search for a new string(e.g. success) from a file. How do i monitor multiple strings(success, failure, critical) with similar number of statistic output? Currently it can only take in one value.

I am new to programming and do not know how to apply arrays. Would appreciate any help, thanks. I have attached the script.

0 Replies