I was told to add someone to a Distribution Group and when I ran:

Get-DistributionGroup -ResultSize Unlimited | Select-Object -ExpandProperty Name

from Exchange Management Shell I didn't the desired distribution group in the list.

  • My first thought is, "Ask your Exchange admin to add a person to a distribution group". When you open EMC, do you see the distribution group in question? – DanBig Mar 13 '14 at 18:57
  • I do but that doesn't answer my question about powershell. – leeand00 Mar 13 '14 at 19:02
  • Oh I see it's a MsExchDynamicDistributionList – leeand00 Mar 13 '14 at 19:15
  • Yes, that's the other kind of DL. Static and Dynamic. – mfinni Mar 13 '14 at 19:18
  • @leeand00 - you should probably just delete this question now. – TheCleaner Mar 13 '14 at 19:44

I'm still running Exchange 2007, but I don't believe this part has changed... There are two different types of Distribution Groups in Exchange:

  1. "Standard" Distribution Groups
  2. Dynamic Distribution Groups

A "Standard" Distribution Group is basically just a group where you've added either other groups (Dynamic or "Standard") or individual users (Mailboxes, Contacts, etc.). The powershell cmdlet Get-DistributionGroup will work on these types of groups.

A Dynamic Distribution Group is built using rules so that it basically generates the recipient list every time a message is sent. You need to use the Get-DynamicDistributionGroup powershell cmdlet to work with these groups.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.