Category: Windows

All about Windows

Export all AD groups and their members to CSV file

Export all AD groups and their members to CSV file

https://gallery.technet.microsoft.com/scriptcenter/Export-all-AD-groups-and-3ae6fb42 Get-ADGroupMember -identity “GroupName” | Get-ADUser | Select-Object Name, SamAccountName | Export-csv -path C:GroupName.csv -NoTypeInformation