Solved

Interforest migration of SMTP addresses for Distribution Lists with SID history

Posted on 2009-05-06
5
1,125 Views
Last Modified: 2012-06-27
Experts,

I am in the process of migrating Distribution Lists from Exchange 2003 in one forest to Exchange 2007 in another. I used ADMT to bring over the groups with SID history, but the Exchange attributes (SMTP addresses) did not come over with the groups.

Does anyone know of a way to bring over the SMTP addresses (preferrably in powershell) without giving up the SID?

Max points for elegant solution. Don't suggest ADMT as I already learned ADMT does not handle Exchange attribs.
0
Comment
Question by:jmilczek
[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
  • 2
5 Comments
 
LVL 15

Expert Comment

by:abhaigh
ID: 24323682
you'll need to read this

Exchange 2007 Cross Org Mailbox Migration
http://msexchangeteam.com/archive/2006/11/02/430289.aspx
0
 
LVL 2

Author Comment

by:jmilczek
ID: 24325051
I hate it when people don't read the question before posting...FAIL. I figured out a way to do it in Powershell anyway so I'll post it on here.
0
 
LVL 15

Expert Comment

by:abhaigh
ID: 24325085
excuse me for trying to help you then - I'll not bother in future
0
 
LVL 2

Accepted Solution

by:
jmilczek earned 0 total points
ID: 24325110
Powershell code attched...group scope will have to be universal (BE CAREFUL what you convert to Universal - recommend changing on source domain and testing for a while first)

$s = Get-Credential
 
get-distributiongroup -credential $s -domaincontroller "xxxx.srcdomain.local" | foreach-object {
Write-host -foregroundcolor blue "Processing..."$_.Name
$srcDG = get-distributiongroup -credential $s -domaincontroller "xxxx.srcdomain.local" $_.Name
enable-distributiongroup -domaincontroller "xxxx.destdomain.local" -Identity $_.Name
Set-DistributionGroup -domaincontroller "xxxx.destdomain.local" $_.Name -emailAddresses $srcDG.emailAddresses -EmailAddressPolicyEnabled $false
Set-DistributionGroup $_.Name -PrimarySMTPAddress $srcDG.PrimarySmtpAddress
$dstDG = get-distributiongroup -domaincontroller "xxxx.destdomain.local" $_.Name
Write-host -foregroundcolor green "Result: "$dstDG,$dstDG.PrimarySmtpAddress
}

Open in new window

0
 
LVL 2

Author Comment

by:jmilczek
ID: 24325181
Abhaigh:
Correct, if you do not blindly respond to questions, future members will find the right answer in less time. Thank you for understanding.
0

Featured Post

Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mail Flow in EXCHANGE 2010 2 54
IMAP storage issue 6 66
Exchange Server Send connector and DNS Round Robin ? 6 41
Error on OWA 2016 14 15
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

740 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