title: Group Scanner - GetQADGroupMember
body: <p>I'm trying to loop through all groups on a specific domain and for each group perform a validation in the number of members, if some group exceeds the threshold then flag it and build a report. </p>
  
  <p>I guess I should get all members and then perform the validation but I'm stuck on this, for example, Get-QADGroupMember can look into all groups or you have to enter a specific group? </p>
  
  <p>If I try with a specific group, for example,</p>
  
  <pre><code>$a = Get-QADGroupMember 'localcontoso.com\Administrators'
  </code></pre>
  
  <p>I'm getting, </p>
  
  <pre><code>Get-QADGroupMember : Cannot resolve directory object for the given identity: 'localcontoso.com\Administrators'.
  </code></pre>
  
  <p>Any advice is welcome. </p>