title: Get child group members with Get-QADGroupMember
body: <p>I want to get all Members of a group testgroup1, but inside this group are other groups testgroup2, testgroup3.</p>
  
  <p>The output of <code>Get-QADGroupMember "testgroup1"</code> is a list of members inside <code>testgroup1</code> but it lists all the other groups inside like Members.</p>
  
  <p>Example for a line where it should work:</p>
  
  <pre><code>$adgroup = Get-QADGroup
  $adgroup | where {$_.Name -like "testgroup1"} | Get-QADGroupMember -Enabled
  </code></pre>
  
  <p>If I add <code>-Indirect</code> it also displays the group, but I only want to show the users:</p>
  
  <pre><code>$adgroup = Get-QADGroup
  $adgroup | where {$_.Name -like "testgroup1"} | Get-QADGroupMember -Enabled -Indirect
  </code></pre>
  
  <p>How can I get all members of the <code>testgroup1</code> and all the members of the groups that are inside it with <code>Get-QADGroupMember</code>?</p>