Use the following command in exchange management shell.
[PS] C:\Windows\system32>Get-DistributionGroupMember -identity "distributiongroupname" | Export-C
sv > "c:\pic\zeesh.csv"
cmdlet Export-Csv at command pipeline position 2
Supply values for the following parameters:
Path: c:\pic\zzzz.csv