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

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:




UPDATE 28/05/2019

I’m starting to go back over some of my older scripts (like this one) and update them with more efficient methods.  The scrip below achieves the same effect in a fraction of the processing time.



Leave a Reply

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