How to export a detailed list of Active Directory users' “Member of” tab?
Open Power Shell
Get-ADPrincipalGroupMembership Username | Select Name
Where Username is the name of the user you're querying.
PS F:\> Get-ADPrincipalGroupMembership panditu | Select Name
Now if you need to export this list to CSV or TXT:
The output file will be in C:\ Drive.
Thanks & Regards,