Solved

Delete email attachments automatically

Posted on 2013-06-21
3
392 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

In this step by step procedure, you will come to know the details of creating an Outlook meeting in 2007, 2010, 2013 & 2016.
Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

733 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