Solved

Delete email attachments automatically

Posted on 2013-06-21
3
394 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
In this video we show how to create an email address policy 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 Mail Flow…
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…

717 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