Forum Discussion
TomWechsler
Apr 06, 2022MVP
Exchange Online Quick Tip: Export all distribution lists with members to a CSV file!
Hi Microsoft 365 and Exchange Online friends,
This article is about using PowerShell in Exchange Online to discover all distribution lists, including all members. Then export this informati...
TMotes
Nov 10, 2022Copper Contributor
TomWechsler I've found that using GUID works very well instead of group name for the -identity field. You can run into duplicated group names in some legacy environments, but GUID will always be unique to the group. Overall, a great script that has come in very handy!