1)首先需要添加删邮件的权限

Assign eDiscovery permissions in Exchange 2016 https://technet.microsoft.com/en-us/library/dd298059(v=exchg.160).aspx

2)然后执行命令进行批删查询

Create an In-Place eDiscovery search in Exchange 2016 https://technet.microsoft.com/en-us/library/dd353189(v=exchg.160).aspx
Exchange 2016通过New-mailboxSearch批量删邮件_第1张图片

3)确认无误后,批删邮件

Search for and delete messages in Exchange 2016 https://technet.microsoft.com/en-us/library/ff459253(v=exchg.160).aspx

备注:10000个邮箱以下的组织,exchange 2016下还可以继续使用search-mailbox进行删除。

可关注下方微信公众号获取更多资讯
Exchange 2016通过New-mailboxSearch批量删邮件_第2张图片