retrohack.com
howto://dump a list of users with email address and upn
I needed to dump a list of all users in a forest so that I could compare their UPN to their email address. I came up with this PS command that will connect to a GC, enumerate all users in the fores…