Export Active Directory group members to a csv file.
Get-ADGroupMember -identity "GROUP_NAME" | select name | Export-csv -path "C:\members.csv"