Get-ADGroupMember exeption is there is a member from another dmain

Hello

I have a Powershell command which works fine within one domain.

Get-ADGroupMember $ADGruppe -Recursive | select name

But as soon as the group contains a member from another domain within our forest I get an exeption
that the group is unknow. But the group does exists and I can see the group and all members from both domains within the active directory console.

But I need to get all members of that group via powershell. I seached via google, but I could not find a command to solve this problem.

Can anybody help?
I’m working with poweshell V 5

best regards
Andreas

Does not work across multiple domains. See the post here for how to handle domain trusts.
https://social.technet.microsoft.com/Forums/en-US/07e7595a-9e7d-43ed-a147-c8591adb1fb2/advice-with-getadgroupmember?forum=ITCG