Moving mailboxes across forests

Hello, we are getting rid of our clients current domain and setting them up on a completely new domain. We want to be able to move all of the mailboxes from the old server (which is on the old domain running exchange 2003) to the new server (which is on the new domain running exchange 2007) by using the move mailbox commandlet on the exchange 2007 server.

My command gives me the following error: Move-Mailbox : A parameter cannot be found that matches parameter name '-'. At Line:1 char:13.

It looks like my syntax is correct. Here is my syntax below:

[PS] C:\Windows\System32>Move-Mailbox -TargetDatabase "<servername>\First Storage Gro
up\Mailbox Database" -Identity Administrator -GlobalCatalog server.domain.lo
cal - SourceForestGlobalCatalog server.domain.com - SourceForestC
redential $SourceCredential -TargetForestCredential $TargetCredential

Please Help
StarfishTechAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
sb18_exchangeConnect With a Mentor Commented:
Try this one and let me know if it errors.

move-Mailbox -Identity Administrator -<YourDomaincontroller> -Globalcatelog GlobalCatalog server.domain.local  -TargetDatabase "<servername>\First Storage Gro
up\Mailbox Database" TargetForestCredential $TargetCredential
0
All Courses

From novice to tech pro — start learning today.