查看导入导出权限
Get-ManagementRoleAssignment -Role "mailbox import export"
Exchange 2016 导入导出邮箱_第1张图片

如果没有权限的话需要进行授权
New-ManagementRoleAssignment -Role "mailbox import export" -User hanjh
Exchange 2016 导入导出邮箱

导出邮箱
New-MailboxExportRequest -Mailbox hanjh -FilePath "\192.168.2.10\soft\hanjh.pst"
Exchange 2016 导入导出邮箱_第2张图片

查看导出状态
Get-MailboxExportRequest -Mailbox hanjh
Exchange 2016 导入导出邮箱_第3张图片

导入邮箱
New-MailboxImportRequest -Mailbox hanjh -FilePath "\192.168.2.10\soft\hanjh.pst"
Exchange 2016 导入导出邮箱

删除导入导出请求队列
Get-MailboxImportRequest -Mailbox hanjh -Status Completed | Remove-MailboxImportRequest
Get-MailboxExportRequest -Mailbox hanjh -Status Completed | Remove-MailboxExportRequest
Exchange 2016 导入导出邮箱
Exchange 2016 导入导出邮箱