Migration 2003 - 2007
Hello, I migrate user from Exchange 2003 to 3007 with the below script. My question is: How can I retrieve the users mailbox permissions they had on their Exchange 2003 mailboxes ? Can someone help me out creating a script or shell command?? $s=Get-Credential $t=Get-Credential $targetDB = "Exchser01\SG9\MIGRATION" $DC = "exchxxx.uk01.company.intra" $GC = "exchxxx.uk02.company.intra" $sourceDC = "exchhxx03.fr.companytobemigrated..." $sourceGC = "exchhxx03.fr.companytobemigrated..." $aliasList = "C:\Scripts\ScriptsMigr\mailbox.txt" Get-Content $aliasList | Get-Mailbox -DomainController $sourceDC -Credential $s | move-mailbox -TargetDatabase $targetDB -SourceForestGlobalCatalog $sourceGC -GlobalCatalog $GC -DomainController $DC -SourceMailboxCleanupOptions none -SourceForestCredential $s -TargetForestCredential $t -Confirm:$false
March 17th, 2010 10:44am
I have done permission manipulation on mailboxes using VB
Script and I must tell you that it is hard, something I certainly can't explain
to you in a forum such as this. However, I can also share with you that I
got all the information I needed on the Internet, mostly in TechNet, and through
trial and error in a lab, so you ought to be able to do the same. Good
luck!-- Ed Crowley MVP"There are seldom good technological
solutions to behavioral problems.".
"Graiggoriz" wrote in message news:1fb73419-c5cf-48c6-99fa-a831b2d13227...Hello,
I migrate user from Exchange 2003 to 3007 with the below script. My
question is:How can I retrieve the users mailbox permissions they had
on their Exchange 2003 mailboxes ? Can someone help me out creating a script
or shell command??$s=Get-Credential$t=Get-Credential$targetDB
= "Exchser01\SG9\MIGRATION"$DC =
"exchxxx.uk01.company.intra"$GC =
"exchxxx.uk02.company.intra"$sourceDC =
"exchhxx03.fr.companytobemigrated..."$sourceGC =
"exchhxx03.fr.companytobemigrated..."$aliasList =
"C:\Scripts\ScriptsMigr\mailbox.txt"Get-Content $aliasList |
Get-Mailbox -DomainController $sourceDC -Credential $s | move-mailbox
-TargetDatabase $targetDB -SourceForestGlobalCatalog $sourceGC -GlobalCatalog
$GC -DomainController $DC -SourceMailboxCleanupOptions none
-SourceForestCredential $s -TargetForestCredential $t
-Confirm:$false
Ed Crowley MVP
"There are seldom good technological solutions to behavioral problems."
Free Windows Admin Tool Kit Click here and download it now
March 17th, 2010 7:48pm
.. After running some test: Using my below script, you will need to migrate the delegated mailbox + users mailboxes that have permissions on it in order to keep the the mailbox permissions. Hope it will help person in the same situation. Graig
March 18th, 2010 12:43pm