title: Case sensitive usage of Get-WmiObject -Filter
body: <p>I know powershell defaults to case <strong>in</strong>sensitive, but in my case i need a case sensitive filtering on Wmi objects properties.</p>
  
  <p>Currently I do:
  <code>Get-WmiObject -Class Win32_Product -Filter "Vendor like '%MYNAME%'"</code>
  but this also finds 'MyName' and 'myname' occurences.</p>
  
  <p>How is it possible to Filter case sensitive?</p>
  
  <p>I heard of the -clike filter, but it seems not to work inside those -Filter switch, e.g. <code>"Vendor clike '%MYNAME%'</code> throws an error.</p>
  
  <p>I chose to use the -Filter option over the <code>Get-WmiObject Win32_Service | where-object {...}</code> clause, because I read that the where-clause would transfer ALL information via network to the remote machine and THEN starts filtering.
  By using the -Filter switch, only the already filtered information is transferred.</p>
  
  <p>Because I use that command to obtain installed product details via remote execution on several machines, that's why I do not want to go with the Where-clause unless there is no other way.</p>
  
  <p>thanks guys!</p>
  
  <p>best regards
  MRT</p>