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

can someone provide a script that we can run to add an additional email alias to a group of distribution groups.

thx - S.
siber1Asked:
Who is Participating?
 
lindentoConnect With a Mentor Commented:
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
 
lindentoCommented:
Hi,

which version of exchange do you use?

Best regards
0
 
siber1Author Commented:
exchange 2010.. thx
0
Improved Protection from Phishing Attacks

WatchGuard DNSWatch reduces malware infections by detecting and blocking malicious DNS requests, improving your ability to protect employees from phishing attacks. Learn more about our newest service included in Total Security Suite today!

 
lindentoCommented:
Hi,

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

Best ergards
0
 
siber1Author Commented:
just add an additional email alias. thanks
0
 
siber1Author Commented:
brilliant. exactly what I was looking for. thx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.