title: I don't know why I can't find members of this group
body: <pre><code>$Group = "IT Staff"
  Get-ADGroupMember -Id $Group |
    select @{Expression={$Group};Label="Group Name"}, Name |
    Export-Csv C:\Srptupd\Groupmembers.csv -NoTypeInformation -Append
  </code></pre>
  
  <p>I get an error that says:</p>
  
  <pre><code> Get-ADGroupMember : Cannot find an object with identity: 'IT
   Staff' under: 'DC=example,DC=com'. At
   exportmembers.ps1:5 char:1
   + Get-ADGroupMember -Id $Group |
   + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       + CategoryInfo          : ObjectNotFound: (IT Staff:ADGroup) [Get-ADGroupMember], ADIdentityNotFoundException
       + FullyQualifiedErrorId : ActiveDirectoryCmdlet:Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException,Microsoft.ActiveDirectory.Management.Commands.GetADGroupMember
  </code></pre>
  
  <hr>
  
  <p>I am able to locate "IT Staff" when I search for it in AD. I don't know why it's not working.</p>
  
  <p><strong>EDIT:</strong>
  Problem solved with using <strong>Pre-Windows 2000</strong> name</p>