1

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.

8
  • 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, 2014 at 18:57
  • I do but that doesn't answer my question about powershell.
    – leeand00
    Mar 13, 2014 at 19:02
  • Oh I see it's a MsExchDynamicDistributionList
    – leeand00
    Mar 13, 2014 at 19:15
  • Yes, that's the other kind of DL. Static and Dynamic.
    – mfinni
    Mar 13, 2014 at 19:18
  • @leeand00 - you should probably just delete this question now.
    – TheCleaner
    Mar 13, 2014 at 19:44

1 Answer 1

3

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .