Skip to main content

How to delete Mail from globally based on subject in Exchange server 2007




Exchange server 2007:  had to run this one first to add permissions.
 1.
Get-Mailbox -Server Exchange server name | Add-MailboxPermission -User Administrator -AccessRights Fullaccess -InheritanceType all


2.
Get-Mailbox -Server Exchange server name | Export-Mailbox -SubjectKeywords “.................” -DeleteContent



Popular posts from this blog

Installing Nagios 4 on Ubuntu 14 04 LTS

Open Source firewalls

1. Endian Community Firewall -  http://www.endian.com/en/community/overview/ 2. pfSense -  https://www.pfsense.org 3. IPCop -  http://www.ipcop.org/ 4. Zentyal -  http://www.zentyal.org 5. IPFire -  http://www.ipfire.org