Solved

Bulk add new smtp domain to existing user accounts

Posted on 2007-11-19
8
722 Views
Last Modified: 2008-05-31
We need to add a new primary smtp domain to for all users and are looking at the easiest way of doing this. We need to keep the left-hand -side name the same as the existing (joe.bloggs1@olddomain.com will change to joe.bloggs1@newdomain.com).

Is there a way for us to run a script that will read "joe.bloggs1" portion and create a new joe.bloggs1@newdomain.com ?
0
Comment
Question by:ericdaly
8 Comments
 
LVL 58

Assisted Solution

by:tigermatt
tigermatt earned 50 total points
ID: 20314045
Is the part before the @ sign manually generated on each account, or is it just a complex recipient policy? If it's just in recipient policy, you could easily copy in the settings used for your old domain to a new entry, with all the variables and parameters (but with the @newdomain.com), then let it apply to users.

If you've manually generated all the bits before the @ sign though, then you'll have to get someone to write you a script...

-tigermatt
0
 
LVL 1

Author Comment

by:ericdaly
ID: 20314076
Thanks tigermatt,
     Its is a bit of a mess to be honest as alot of manually modifed addresses exist so proagating a new domain policy does not suit. Approx 8500 users.

We are working on a script but very messy to get right.
0
 
LVL 12

Assisted Solution

by:Network_Data_Support
Network_Data_Support earned 150 total points
ID: 20314353
crate a recipent policy

%g.%s@newdomain.com

and then apply it to to all users
0
 
LVL 5

Assisted Solution

by:JohnDemerjian
JohnDemerjian earned 50 total points
ID: 20314506
ericdaly

i did this exact thing a while back and i thought i had the whole routine but i can't find it.  i'll take a look for you at home if you tell me you are still looking for a solution.  in the mean time, take a look at this...

http://www.activedir.org/article.aspx?aid=143
0
Problems using Powershell and Active Directory?

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

 
LVL 12

Assisted Solution

by:Network_Data_Support
Network_Data_Support earned 150 total points
ID: 20314548
0
 
LVL 104

Accepted Solution

by:
Sembee earned 250 total points
ID: 20317146
Based on the above, what I would do is extract what you have using the above tools.
Then copy the email address column to a new column for the second address. Do a find and replace on that column to change the email domain and then re-import. Get it right, nothing else changes.

Simon.
0
 
LVL 1

Author Comment

by:ericdaly
ID: 20323712
Thanks for all your input guys. After hours of toying around I came up with an excel spreadsheet that contains formulas that can create a command that we place in a batch file which in turn updates the primary smtp field.
If you would like a sample of this please PM me.
0
 
LVL 1

Author Comment

by:ericdaly
ID: 20323733
or email me !
eric.daly at gmail dot com
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create a Distribution Group 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 >>…
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 from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

947 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

21 Experts available now in Live!

Get 1:1 Help Now