Export-Mailbox-Identityjoe@example.com-TargetMailboxbob@example.com-TargetFolderJoe |
Export-Mailbox-Identityjoe@example.com-TargetMailboxbob@example.com-TargetFolderJoe-AllowMerge |
Export-Mailbox-Identityjoe@example.com-TargetMailboxbob@example.com-TargetFolderJoe-IncludeFoldersInbox,Contacts |
Export-Mailbox-Identityjoe@example.com-TargetMailboxbob@example.com-TargetFolderJoe-ExcludeFolders'SentItems','Contacts' |
Export-Mailbox-Identityjoe@example.com-PSTFolderPathC:Tempjoe.pst |
Get-Mailbox-Database'SalesMailboxDB'|Export-Mailbox-PSTFolderPathC:PSTFiles |
Get-Mailbox-ServerEXCHANGE01|Export-Mailbox-TargetMailboxExportMailbox-TargetFolderMessageCleanup-SubjectKeywords'Companyconfidential'-DeleteContent-MaxThreads10 |
>Get-Mailbox-ServerEXCHANGE01|Export-Mailbox-TargetMailboxExportMailbox-TargetFolderMessageCleanup-SenderKeywordsnasty.person@example.com-DeleteContent-MaxThreads10 |
Error | Cause |
---|---|
“The specified mailbox database [Mailbox Database Name] does not exist” | The user running the Export-Mailbox command needs to be delegated the Exchange Administrator role for the Exchange server. |
“Error occurred in the step: Creating target folder in the target mailbox. An unknown error has occurred., error code: -2147221233” | The user running the Export-Mailbox does not have full access to the destination mailbox. |
Error occurred in the step: Moving messages. Failed to copy messages to the destination mailbox store with error: MAPI or an unspecified service provider. ID no: 00000000-0000-00000000, error code: -1056749164″ | The user running the Export-Mailbox does not have full access to the source mailbox. |