Power Shell Get Members from AD Group

Get Members’ names from Active Directory Group (you need the ActiveDirectory Module added to your powershell if not doing it from a DC.

Get-AdGroupMember -identity "Group Name" | select name

If you want to dump it to a CSV, you can add this to the end of the above command

| Export-csv -path C:\Output\Groupmembers.csv -NoTypeInformation