系统运维
查看导入导出权限
Get-ManagementRoleAssignment -Role "mailbox import export"
如果没有权限的话需要进行授权
New-ManagementRoleAssignment -Role "mailbox import export" -User hanjh
导出邮箱
New-MailboxExportRequest -Mailbox hanjh -FilePath "\\192.168.2.10\\soft\\hanjh.pst"
查看导出状态
Get-MailboxExportRequest -Mailbox hanjh
导入邮箱
New-MailboxImportRequest -Mailbox hanjh -FilePath "\\192.168.2.10\\soft\\hanjh.pst"
删除导入导出请求队列
Get-MailboxImportRequest -Mailbox hanjh -Status Completed | Remove-MailboxImportRequest
Get-MailboxExportRequest -Mailbox hanjh -Status Completed | Remove-MailboxExportRequest