How do I find a list of users common to two Active Directory groups?

green

The PowerShell script below can be used to find users that are common to two Active Directory groups.

You just need to change the names of the groups to suit your needs (where “finance” and “managers” are mentioned below).

 

The results should look like this:

commongroups

 

green

Leave a Reply

Your email address will not be published. Required fields are marked *