Solved

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

Posted on 2013-11-14
6
637 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
  • 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

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

Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

Question has a verified solution.

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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now