Export AD Group Members to CSV
Jump to navigation
Jump to search
- Create the following directory (or use the directory of your choice)
c:\ADGroupQuery
- Open Powershell
- Enter the following command changing "Name of Group" to the name of whatever group you are trying to populate
Get-ADGroupMember -identity “Name of Group” | select name | Export-csv -path C:\ADGroupQuery\Groupmembers.csv -NoTypeInformation
[1]