1。赋权:
Get-mailbox | Add-MailboxPermission -User administrator -Acce***ights Fullaccess
2:删除:
Get-Mailbox -Anr 8888@dddd.com | Export-Mailbox -SubjectKeywords "dddddddddd" -TargetMailbox temp@temp.com -TargetFolder "temp" –DeleteContent -Confirm:$False
3。删除权限:
Get-mailbox | Remove-MailboxPermission -User administrator -Acce***ights Fullaccess
转载于:https://blog.51cto.com/sunxin686/1713936