Search Tool Bar

Tuesday, December 8, 2020

               How to Get AD User Group Membership Reports


1. Open the PowerShell on your Domain controller → Run the following script, specifying the username for the account you’re interested in and the path to export:

Get-ADPrincipalGroupMembership <Username> | select name, groupcategory, groupscope | export-CSV C:\data\ADUserGroups.csv




2. Open the file produced by the script in MS Excel.




Please share your comments.....................!

No comments:

Post a Comment