Command line to list users in a Windows Active Directory group?

try

dsget group "CN=GroupName,DC=domain,DC=name,DC=com" -members

Leave a Comment