text: Q:
  
  search in array values - powershell
  
  I've an array with 10 values (0 to 9). Each array value output is a multi-liner. Here is what it looks like for example - 
  C:>arrval[0]
  12345
  34593433598434
  error1
  357948557
  C:>arrval[1]
  238296879234
  error1
  93454753503
  error2
  
  I'm checking to see if we can print only the error portion in an array value.
  
  A:
  
  Something like this?
  $arrval -split "`n" |  where {$_ -like "*error*"}
  
  