Reputation: 3
I'm in a multi-domain and multi-forest environment. Forest 1 contains the vast chunk of users and domains - forest 2 contains a single legacy domain, and this setup is causing issues.
Get-ADGroup -Identity $_.groupname -Server $_.domainname -Properties members | select members
When this is run on groups from either forest, the results ONLY return members that are in the same forest as the group. This is an issue as we have users from forest 1 inside forest 2 groups, and vice-versa. Edit: The users from the other forest are NOT listed as foreign security principals in this output, but I know they are there based on Forefront Identity Manager.
The objective here is to get a full listing of users within groups, regardless of domain or forest, as we need this for an upcoming audit.
Upvotes: 0
Views: 756