Get AD group membership across multiple domains

We have a local domain, and a national domain. All of our user accounts are part of the national domain, but we do have some groups that are still in use in the local domain. However, to my knowledge, AD users and computers will only show me the groups from the users domain, not the other.

Was hoping to find a way to do it in powershell.

get-adprincipalgroupmembership -server servername username | select name 

only reports groups from that server.

submitted by /u/I_Have_A_Chode
[link] [comments]

Leave a Reply