Exchange 2007 Cross-Forest Migration script only executes one mailbox move at a time, even with -MaxThreads option selected RRS feed

  • Question

  • Hello All... I have an Exchange 2007 InterOrg tranisition that I'm doing and I have a script that works, however, it's not running "multithreaded" and I have waaaayyyy tooo many users to move to have it run single threaded. My script logic is listed below. Anyone have any idea what I'm doing wrong?

    Import-CSV users.csv | ForEach {Move-Mailbox -TargetDatabase "SERVERCMS01\SG1\DB1" -Identity $_.Alias -GlobalCatalog dc01.company.net -SourceForestGlobalCatalog DC05.corp.local -IgnorePolicyMatch -NTAccountOU "OU=Users,OU=Organizational Units,DC=company,DC=com" -BadItemLimit 10 -MaxThreads 10 -SourceForestCredential $SourceCredential -TargetForestCredential $TargetCredential}

    Thanks in advance!

    Rodney Scroggins
    EMC Corporation
    Thursday, January 21, 2010 7:47 AM