Hi All,
I am new to powershell, please suggest.
i was using Select-String -Path | -pattern, but it only search the given value.
I am trying to search and print line if that line value is 50% and above.
ex: Print WESTDEV have 82%,81% that line has to be printed and send email.
. Print EASTDEV
/dev/sdb 984G 289G 695G 30% /var/lib/influxdb
/dev/sdb 984G 286G 699G 29% /var/lib/influxdb
. Print WESTDEV
/dev/sde 984G 798G 187G 82% /var/lib/influxdb
/dev/sdc 984G 793G 192G 81% /var/lib/influxdb
. Print EASTPST
/dev/sdd 984G 439G 545G 45% /var/lib/influxdb