Exchange - The term ‘New-MailboxExportRequest’ is not recognized

Trying to run New-MailboxExportRequest cmdlet on Exchange 2010 SP1 or later and getting following error.

Exchange导出邮件命令报错: 
The term ‘New-MailboxExportRequest’ is not recognized as the name of a cmdlet, function, script file, or operable program.

 

The most likely reason is that your user account doesn't have Mailbox Import Export role. To add it run:

把电脑账号/域账号加入Mailbox Import Export 角色

New-ManagementRoleAssignment -Role "Mailbox Import Export" –User domain\user.name

 

Restart Exchange Management Shell and you should be good to go.

然后重启Exchange Management Shell后生效。

posted @ 2020-12-03 16:57  jerain6312  阅读(269)  评论(0)    收藏  举报