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.
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.
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:
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.