• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 207
  • Last Modified:

Change Email Attribute for Dynamic Distribution List

Greetings,

I work for a school district and we're becoming a "Google" district (email for students, drive/docs for staff and students).
We had to use the 'UserPrincipalName' AD attribute on all the AD accounts in order to get them all provisioned in Google.
None of our groups/distributions lists moved over because there is no 'UserPrincipalName' on the list and email address domain doesn't match the domain in Google.
To explain that, we're a "K12" district (Junior high and High School) so the domain is @domain.k12.ca.us.  Several years ago, we purchased a shorter version of that domain so we also have @domain.us.  The domain we chose to use in Google is the shorter version (@domain.us).
All of our distribution lists have @domain.k12.ca.us because that is still the primary domain in our Exchange environment.
My question is 2-fold:
         ---  Is there a Powershell command or script that will allow me to change the email address to the shorter version (@domain.us) without having to delete and recreate the lists - keep in mind, 90% of our distribution lists are dynamic?
         ---  If this can't be done with Powershell, what impact would there be on our email flow if I switched the primary domain in Exchange to be the shorter (@domain.us) version?
0
skbarnard
Asked:
skbarnard
  • 4
  • 3
2 Solutions
 
GiladnCommented:
have a look here:
 http://admodify.codeplex.com/

I believe it's working for 2008..

read before using it and use with caution!
0
 
skbarnardAuthor Commented:
Thanks for the link however, it's not showing any of the dynamic groups so this won't help with my situation
0
 
GiladnCommented:
Hi,

you need to export all DL's to a csv file and then execute them command to modify, I will look it up for you, is it possible to ADD an alias instead of modifying current email address?
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!

 
skbarnardAuthor Commented:
Very good question, yes it might work to add the alias but I'll have to verify that with the vendor assisting our Google district setup.
0
 
GiladnCommented:
best thing I've found is here:
http://gallery.technet.microsoft.com/scriptcenter/411aec4e-8c01-4594-b993-fbd968f15399

take a look, this should apply to exchange 2010, you might need to modify the code, do you think it will solve your problem?

Gilad
0
 
skbarnardAuthor Commented:
Thanks for the link.  This looks to be a really good PS1 code.  I wanted to check things before  ran this though so I was manually trying to change the alias on one distribution list; it appears the alias for a distribution group can't have the @ in it so again, I don't think this is going to work.
0
 
skbarnardAuthor Commented:
While neither of these links resolved my particular issue, the links provided are very good; part of this was because I thought the dynamic groups weren't showing - that turns out to have been an MMC snafu.  We ultimately resorted to manually entering the attribute - tedious but successful.
Thanks Gilad for all your input.
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.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now