title: Get ADUser sort by memberof not working for me
body: <p>I've a need to extract a list of all members in a particular OU who are members of the same group. Problem is it only works if I use -match, however that also picks up groups that have a similar name. If I use -eq it retrieves nothing, despite users being members of that particular group. Anyone who might be able to help me figure what I'm doing wrong? </p>
  
  <p>The powershell script I've been using;</p>
  
  <pre><code>Get-ADUser -Filter * -SearchBase 'OU=NewUsers,DC=LOCAL' -properties memberof | Where-Object {$_.memberof -eq 'APP-KMD'} | Select SamAccountName
  </code></pre>