title: "in" condition in powershell
body: <p>Is there any "in" condition in Powershell similar to sql. if available please let me know the syntax on how to use it.
     My senario is i need to get a list of ids and use it in another query.</p>
  
  <p>Looking for doing below</p>
  
  <pre><code>//Below line i veried returns values more than 1
  $desktopGroupIds = Get-BrokerDesktopGroup -AdminAddress 'IPAddressgoeshere' |  select uid
  
  Get-BrokerPrivateDesktop  -AdminAddress 'IPAddressgoeshere' | Where { $desktopGroupIds.contains($_.DesktopGroupUid) } | select DesktopGroupUid
  </code></pre>
  
  <p>The 2nd query does not return value. i am sure the 2nd query can give results if i pass values one by one. i want to use may be '-in' operator if avaliable or make the above contains work.</p>
  
  <p>Thanks,</p>