This post describes how to get an Active Directory group's members when some of those members are foreign security principals -- in a different domain. Unfortunately, the standard Get-ADGroupMember cmdlet will fail under these circumstances. Fortunately, we can work around that with a little PowerShell magic.