Get All Distribution Lists and Members in Microsoft 365

Use the attached powershell script to extract all distribution groups, members and owners to CSV/Excel format.

Attached files: