Difference between revisions of "Export AD Group Members 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 "Name of Group"...") |
(No difference)
|
Latest revision as of 13:04, 25 April 2018
- 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]