Windows | How To Export A List Of Users From An AD Group Using AD Module For Windows PowerShell
1. Open Active Directory Module for Windows PowerShell
2. Type in Get-ADGroupMember GROUPNAME | Select Name, SamAccountName | Export-CSV “C:Export.csv”
Replace GROUPNAME with the group you want to export a list of users.