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


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

Does not work across multiple domains. See the post here for how to handle domain trusts.