Office 365 Email Migration
We're trying to migrate from Zimbra to Office 365 for certain users only.
So far so good, few niggles resolved however one thing I'd like to do is migrate the actual emails.
This is apparently possible using various powershell scripts to migrate from our zimbra IMAP setup.
As per the norm, Microsoft's documentation is full of typos and misinformation, so I'm at a dead end.
I'm following the following document:
Migrate E-Mail from an IMAP Server with Windows PowerShell
This goes well up to the test stage. I'm only testing with a single user for the time being before I attempt using an administrative account to do multiple mailboxes.
However on using the following command:
We get the following message
New-MigrationBatch -Imap -Name MigrationBatch1 -CSVData:([System.IO.File]::ReadAllBytes("C:\MyCSV.csv")) -MaxConcurrentMigrations 3 -RemoteServer mail.myoldmailserver.net -Port 143 -Timezone "Greenwich Standard Time"
A parameter cannot be found that matches parameter name 'Imap'
Can't understand why that would be the case - we're connected succesfully, the test was OK yet it can't find anything about imap? If I rename the CSV file it falls over on that first.
Can anyone shed any light on that please?
A good example of such misinformation would be the following command supplied to test connection:
"Test-MigrationServerAvailability -RemoteServer imap.contoso.edu -Port 143" (example)
That doesn't work - it prompts for a value for "Imap" - however the following command does work:
"Test-MigrationServerAvailability -Imap -RemoteServer imap.contoso.edu -Port 143"