SOLVED: VIDEO: Easy PowerShell to List The Email Addresses in a Dynamic Distribution List From Office365

This is the “How Can I See the User/Member/Email addresses in a Dynamic Distribution Group” segment from our larger explanation of what Dynamic Distribution Lists are in Office 365 Hosted Exchange, How to Create and Manage an Office 365 Dynamic Distribution List, and How To Display The Users in Dynamic Distribution Group

Easy PowerShell How to Show The Email Addresses in a Dynamic Distribution List

Open a POWER SHELL as an administrator then enter these commands pressing ENTER after each one:How to see export the email address of a Dynamic Distribution List on Office365 Exchange

  1. Set-ExecutionPolicy RemoteSigned
  2. $UserCredential = Get-Credential
  3. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
  4. Import-PSSession $Session -DisableNameChecking
  5. $MyQuery = Get-DynamicDistributionGroup "< YOUR DDG >"
  6. Get-Recipient -RecipientPreviewFilter $MyQuery.RecipientFilter -OrganizationalUnit $FTE.RecipientContainer

Questions or Comments?