title: Exclude items in array in Where-Object
body: <p>I was wondering if there is a simple/single-line way of excluding an array of things using <code>Where-Object</code>.</p>
  
  <p>So rather than go:</p>
  
  <pre><code> $filtereddata = $data |
       Where {$_.var -ne "1"} |
       Where {$_.var -ne "2"} |
       Where {$_.var -ne "3"} |
       Where {$_.var -ne "4"} |
       Where {$_.var -ne "5"} |
       Where {$_.var -ne "7"} |
       Where {$_.var -ne "10"} |
       Where {$_.var -ne "12"} 
  </code></pre>
  
  <p>I go</p>
  
  <pre><code> $filterddata = $data | Where {??????}
  </code></pre>
  
  <p>Or something like that...</p>
  
  <p>Notice that they are all the same <code>.Var</code>.</p>
  
  <p>Is there a way of doing this more simply? Especially say if, in an automated scenario, the number of <em>Var</em> to be excluded is ever growing?</p>