title: Powershell - (Active Directory Module) - Get-ADGroupMember only works for groups in my Domain
body: <p>I'm a bit embarrassed to say how much time I've spent on this!</p>
  
  <p>I dont have any issues using the ADUC GUI (Active Directory User and Computers) to find the group, <em>All Supervisors</em> in <em>east.ad.company.com</em>.  The result comes up within a few seconds.</p>
  
  <p>However, if I try to do the same thing using the Active Directory module:</p>
  
  <p><em><strong>Get-ADGroupMember "All Supervisors" -server east.ad.company.com</em></strong></p>
  
  <p>produces the error:</p>
  
  <p><em>....FullyQualifiedErrorId : Cannot find an object with identity: 'All Supervisors' under: 'DC=east,DC=ad,DC=company,DC=com'.,Microsoft.ActiveDirectory.Management.Commands.GetADGroupMember...</em></p>
  
  <p><strong>---------------------------------------------------------------------------------------------------------</strong></p>
  
  <p>A few things to note:</p>
  
  <ul>
  <li>Group scope of <em>"All Supervisors"</em> is Universal (not sure if that makes
  a difference)</li>
  <li>My Computer and AD user account is currently in the
  <em>west.ad.company.com</em></li>
  <li>I can successfully use Get-AdGroupMember as long as it's in the same
  domain as me</li>
  <li>I can successfully use <em>get-aduser -identity ADUserID -server
  ba.ad.ssa.gov</em></li>
  </ul>
  
  <p><strong>---------------------------------------------------------------------------------------------------------</strong></p>
  
  <p><strong>Lastly:</strong>
  I would also like to know how to do the equivalent of searching in ADUC for Users and Groups in "Entire Directory" in Powershell (ideally a simple function or script I can use to quickly search do this at the command-line; instead of depending on the ADUC GUI app).  Surely, there has to be a way to do this using pure powershell!</p>