Solved

need a quest AD Cmdlets or posh script to add email alias to distribution groups

Posted on 2013-11-14
6
646 Views
Last Modified: 2013-11-14
can someone provide a script that we can run to add an additional email alias to a group of distribution groups.

thx - S.
0
Comment
Question by:siber1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 4

Expert Comment

by:lindento
ID: 39649937
Hi,

which version of exchange do you use?

Best regards
0
 

Author Comment

by:siber1
ID: 39649940
exchange 2010.. thx
0
 
LVL 4

Expert Comment

by:lindento
ID: 39649986
Hi,

do want to add a member to those distribution group or add an additional email alias for the distribution groups?

Best ergards
0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

Author Comment

by:siber1
ID: 39650020
just add an additional email alias. thanks
0
 
LVL 4

Accepted Solution

by:
lindento earned 500 total points
ID: 39650050
Hi,

you need to create a csv file of the following format:

DL,NewEmailAddress
List1,test1@test.com
List2,test2@test.com

Save this file to c:\updatedl.csv

then open powershell and run:

Import-CSV "C:\updatedl.csv" | ForEach {Set-distributionlist $_.DL -EmailAddresses @{add=$_.NewEmailAddress}}

Best Regards
0
 

Author Closing Comment

by:siber1
ID: 39650165
brilliant. exactly what I was looking for. thx
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
how to add IIS SMTP to handle application/Scanner relays into office 365.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question