Difference between revisions of "Export AD User Membership Groups to CSV"
Jump to navigation
Jump to search
(Created page with "# Create the following directory (or use the directory of your choice) ::<code>c:\ADGroupQuery</code> # Open Powershell # Enter the following command changing "USERNAME" to th...") |
(No difference)
|
Latest revision as of 08:53, 2 October 2018
- Create the following directory (or use the directory of your choice)
c:\ADGroupQuery
- Open Powershell
- Enter the following command changing "USERNAME" to the name of the user you are trying to populate memberships for
Get-ADPrincipalGroupMembership USERNAME | Select Name | Export-CSV -path C:\ADGroupQuery\USERNAME.csv -NoTypeInformation
[1]