title: PowerShell Skype for Business server side filtering on variable
body: <p>Just a quick one. Anyone know why server side filtering doesn't appear to work for lineuri when using a variable?</p>
  
  <pre><code>$lineuri = 56660
  Get-CsUser -Filter { lineuri -like "*$lineuri" }
  </code></pre>
  
  <p>I get nothing.</p>
  
  <pre><code>Get-CsUser -Filter { lineuri -like "*56660" }
  </code></pre>
  
  <p>Gives me the results I'd expect to see.</p>
  
  <p>I have 7000 users here, I can't afford to keep using where all the time.</p>
  
  <p>Thanks</p>