Solved

Script to extract attatchments from a .PST file

Posted on 2014-11-11
1
357 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 13

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Outlook Free & Paid Tools
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now