I need to create a new mailing list in Exchange 2010 which would consist of about 50 external email addresses. I have the list of (external) email addresses in plain text format.
I have previously solved this task by manually creating an external contact for each email address and then adding those external contacts to a distribution group.
What would be the most efficient way to solve this task with Exchange 2010? Does EMS help here?
PowerShell Code:
c:\distro.csv:
You'll still be doing the same thing, but it's definitely a task that's made easier with a little powershell.
You can use
New-MailContact
to batch-create the mail-enabled contact object, then pass a list of those new objects toNew-DistributionGroup
as-members
.