Use PowerShell to get the names and email addresses of members of a distribution group

There are easier ways probably but this is what I use: