删除exchange误发邮件

1。赋权:
Get-mailbox | Add-MailboxPermission -User administrator -AccessRights Fullaccess
2:删除:
Get-Mailbox -Anr [email protected] | Export-Mailbox -SubjectKeywords "dddddddddd" -TargetMailbox [email protected] -TargetFolder "temp" �CDeleteContent -Confirm:$False

3。删除权限:
Get-mailbox | Remove-MailboxPermission -User administrator -AccessRights Fullaccess

你可能感兴趣的:(Exchange)