Get-ADGroupMember returns nothing while being completed successfully

Posted by Volodymyr on Server Fault See other posts from Server Fault or by Volodymyr
Published on 2013-07-01T09:07:42Z Indexed on 2013/07/01 10:23 UTC
Read the original article Hit count: 974

I've tried to list all of the members of one of the groups in AD, but nothing is returned, although the command is completed successfully. It neither works with group DN specified, instead of sAMAccountName.

Get-ADGroupMember "sAMAccountName" -Recursive | select name

See output below: enter image description here

The following message appears if one views Members from dsa.msc

---------------------------
Active Directory Domain Services
---------------------------
Some of the object names cannot be shown in their user-friendly form. 
This can happen if the object is from an external domain and 
that domain is not available to translate the object's name.
---------------------------
OK   
---------------------------

Can this be a reason for powershell not returning results? Any thoughts?

UPD: this doesn't seem to be permissions issue, since dsquery does return group members.

© Server Fault or respective owner

Related posts about active-directory

Related posts about windows-server-2008-r2