title: Compare a string in one array, with a wildcard string in another
body: <p>I have two arrays, <code>$a</code> and <code>$b</code>, within array <code>$a</code> is a string which could partially match one of the entries in <code>$b</code>, assuming I could use a wildcard:</p>
  
  <pre><code>$a = "1", "Computer Name", "2"
  $b = "3", "4", "Full Computer Name Here"
  
  foreach ($line in $a) {
      foreach ($line2 in $b) {
           where "*$line*" -like "*$line2*"
      }
  }
  </code></pre>
  
  <p>I've got here after trying all the simple 'this array matches that array', into <code>foreach</code> for one array, then tried all the <code>Select-String</code> to <code>Compare-Object $line $line2 -ExcludeDifferent -IncludeEqual -PassThru</code>, but can't get anything to work. </p>
  
  <p>Ideally, it'd return 'Full Computer Name Here' where it matches.</p>