From WhyAskWhy.org Wiki
Revision as of 10:07, 13 September 2012 by Deoren (Added alternate (non-PowerShell) command)
Look up Active Directory group members
I found this tip on ServerFault.com.
Import-Module ActiveDirectory Get-ADGroupMember "MyADGroupName" | Select-Object name | Sort-Object name
Unfortunately that doesn't expand all group members, whereas this command-line tool does:
dsquery group -name "MyADGroupName" | dsget group -members -expand