重庆分公司,新征程启航
为企业提供网站建设、域名注册、服务器等服务
系统运维
查看导入导出权限
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