Solved

Delete email attachments automatically

Posted on 2013-06-21
3
388 Views
Last Modified: 2013-12-31
Some of my mailboxes are getting ridiculously large and I'd like to delete email attachments that are older than 6 months and larger than say....1MB. Is there a way to automate this maybe with a powershell script or whatever? I can't afford to go through email individual mailboxes and clean them out. Thanks!
0
Comment
Question by:demallic
3 Comments
 
LVL 23

Accepted Solution

by:
Stelian Stan earned 167 total points
ID: 39267358
Have a look on this article: http://blogs.technet.com/b/exchange/archive/2010/10/27/removing-specific-messages-from-your-exchange-server.aspx

You should be able to create a transport rule to delete the attachments on mailboxes.
0
 
LVL 22

Assisted Solution

by:Haresh Nikumbh
Haresh Nikumbh earned 167 total points
ID: 39267882
If you are ok with 3rd Party addons, here are a couple - Kopf Outlook Attachment Remover or Attachment Save. Both move the attachment to an external location and replace the entry with the link, not quite what you want, but might be close enough. Outlook Attachment Sniffer Seems to have the option to just "Remove" the attachment

http://www.rsbr.de/Software/OASniffer/index.htm.
0
 
LVL 40

Assisted Solution

by:Subsun
Subsun earned 166 total points
ID: 39271810
You can try with EWS and PowerShell to remove attachments from mailbox.. Refer the following article for sample script..

http://gsexdev.blogspot.in/2013/03/removing-attachments-of-specific-type.html#!/2013/03/removing-attachments-of-specific-type.html
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
powershell add exchange property to a report 12 52
Exchange 2010 6 22
outlook calendar 2 24
msdos loop until a variable value changes 5 18
A procedure for exporting installed hotfix details of remote computers using powershell
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question