Here is a powershell command to export all the primary SMTP email addresses from an Exchange distribution group to a text file. Useful for things like moving them to Google groups 🙂
Get-DistributionGroupMember <name of group> | Select PrimarySmtpAddress | Export-Csv <name of file> -NoTypeInformation
Thanks to this technet post for the solution.