ianhartley74
MIS
I'm trying to pull some mailboxes from our sister company's Ex2003 server to our Ex2010 system. Checked loads of MS sites and blogs and seems like I'm doing it the right way but it just doesn't work for me. Any advice gratefully received.
From Ex2010 system using EMS:
- LocalCredentials = Get-Credential
- RemoteCredentials = Get-Credential
- Set-AdServerSettings -ViewEntireForest $True
- Prepare-MoveRequest.Ps1 -Identity "CN=User,OU=Container,DC=Source,DC=Com" -RemoteForestDomainController DC1.Source.Com -RemoteForestCredential $RemoteCredentials -LocalForestDomainController DC1-Destination.Com -LocalForestCredential $LocalCredentials -UseLocalObject
------all the above works, I get 1 Mailbox Ready to Move & a disabled user created in the Destination.Com domain.----------
- New-MoveRequest -Identity "CN=User,OU=Container,DC=Source,DC=Com" -RemoteLegacy -TargetDatabase "EX-DB" -RemoteGlobalCatalog "DC1.Source.Com" -RemoteCredential $RemoteCredentials -TargetDeliveryDomain "Destination.Com"
-----this gives the output as per below-------------------
You must specify the RemoteTargetDatabase parameter.
+ CategoryInfo : InvalidArgument: (property.sbg.la...ded)/migrateian:MailboxOrMailUserIdParameter) [New-MoveRequest], RecipientTaskException
+ FullyQualifiedErrorId : BCFB1F12,Microsoft.Exchange.Management.RecipientTasks.NewMoveRequest
----but the RemoteTargetDatabase command is only used it you are pushing a mailbox to somewhere not pulling, I think----------
From Ex2010 system using EMS:
- LocalCredentials = Get-Credential
- RemoteCredentials = Get-Credential
- Set-AdServerSettings -ViewEntireForest $True
- Prepare-MoveRequest.Ps1 -Identity "CN=User,OU=Container,DC=Source,DC=Com" -RemoteForestDomainController DC1.Source.Com -RemoteForestCredential $RemoteCredentials -LocalForestDomainController DC1-Destination.Com -LocalForestCredential $LocalCredentials -UseLocalObject
------all the above works, I get 1 Mailbox Ready to Move & a disabled user created in the Destination.Com domain.----------
- New-MoveRequest -Identity "CN=User,OU=Container,DC=Source,DC=Com" -RemoteLegacy -TargetDatabase "EX-DB" -RemoteGlobalCatalog "DC1.Source.Com" -RemoteCredential $RemoteCredentials -TargetDeliveryDomain "Destination.Com"
-----this gives the output as per below-------------------
You must specify the RemoteTargetDatabase parameter.
+ CategoryInfo : InvalidArgument: (property.sbg.la...ded)/migrateian:MailboxOrMailUserIdParameter) [New-MoveRequest], RecipientTaskException
+ FullyQualifiedErrorId : BCFB1F12,Microsoft.Exchange.Management.RecipientTasks.NewMoveRequest
----but the RemoteTargetDatabase command is only used it you are pushing a mailbox to somewhere not pulling, I think----------