How to list members of a group via cmd line

Subscribe to my newsletter and never miss my upcoming articles

Ever wanted to list group members via command line on a domain controller? Here's the command to do it- Please note this is "Sample CN".

dsget group "CN=Group name, OU=SecurityGroups,DC=domainname,DC=com" -members -expand

No Comments Yet