Solved

Script to extract attatchments from a .PST file

Posted on 2014-11-11
1
380 Views
Last Modified: 2014-11-25
A user has requested us to extract attached image files from a large amount of emails on outlook. Their are duplicate names (i.e. Image001) which has made either extracting manually or running a VB script through outlook fail due to the script overriding the duplicates. Is there a powershell or VB script to extract these for us from a .PST file? Any methods to remove the attachments from emails would be appreciated, thanks.
0
Comment
Question by:GR JN
1 Comment
 
LVL 14

Accepted Solution

by:
Alexei Kuznetsov earned 500 total points
ID: 40437437
Although you can write such a script, it requires advanced skills. Moreover, you can't actually process PST files as is. And if you say "any methods" are ok, then I can recommend the free Save Attachments utility: it does exactly what you want. You can specify the required file mask(s) (for example: *.jpg;*png;*.gif), set target folder and clear "Overwrite existing files" check to force the utility to rename the duplicates. After that you can use the free Remove Attachments utility to remove the unneeded attachments. Or you can just Replace Attachments with Links (no need to separately save/remove then).

DISCLAIMER: I recommend these utilities because I'm one of the developers, so feel free to ask any further questions.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
Find out what you should include to make the best professional email signature for your organization.
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 …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 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