Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2013-11-14
6
Medium Priority
?
653 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
Are You Ready for GDPR?

With the GDPR deadline set for May 25, 2018, many organizations are ill-prepared due to uncertainty about the criteria for compliance. According to a recent WatchGuard survey, a staggering 37% of respondents don't even know if their organization needs to comply with GDPR. Do you?

 

Author Comment

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

Accepted Solution

by:
lindento earned 2000 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Let's recap what we learned from yesterday's Skyport Systems webinar.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

670 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