I am needing to export 2 AD users and groups they are members of. Is there a way of accomplishing this with one export? I would like 2 columns, 1 for each user and the groups.
Get-AdPrincipalGroupMembership e56836 | select name | sort-object -Property name