Solved

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

Posted on 2013-11-14
6
635 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
This article will help you understand what HashTables are and how to use them in PowerShell.
In this video we show how to create a Contact 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 Recipients >> Contact ta…
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…

707 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

18 Experts available now in Live!

Get 1:1 Help Now