title: powershell Get-VM where name is not like
body: <p>I am trying to run the Get-VM and filter out some VM's by name.</p>
  
  <p>So for example Get-VM | -name isnotlike "Web1" and "Web2"</p>
  
  <p>How would I do this?</p>
  
  <p>or something like this? But this doesn't work</p>
  
  <pre><code>Get-VM -Name -notlike WEBIMAGE1,WEBIMAGE2
  </code></pre>