Solved

Script to extract attatchments from a .PST file

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
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 …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

920 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

13 Experts available now in Live!

Get 1:1 Help Now