Welcome to Scripting Forums Sign in | Join | Help
in Search

Importing Outlook pst files through script

Last post 11-08-2007, 1:27 PM by jsgirotto. 3 replies.
Sort Posts: Previous Next
  •  10-26-2007, 3:57 AM 28738

    Importing Outlook pst files through script

    Dear Scriptwizards,

    I'm looking for some code that could help me in getting this job done; Import all pst files available in a shared folder, check if the pst files are not already imported.

    I thought that when importing a pst file in outlook, a reference coulb be found in the windows registry, but it doesn't seem the do that. Otherwise if would have been easy to enumerate all pst files and just write them down to registry keys... but since it's not there, i don't have a clue where outlook stores this data and IF this data is editable...

    thanks for any hint, tip or solution you might have.

    best regards

    dimitri

  •  11-06-2007, 4:32 PM 28816 in reply to 28738

    Re: Importing Outlook pst files through script

    Hi BRUDXA,

    Are you asking about how to transfer the data from a PST file into an Exchange mailbox? Or, are you asking about how to add a PST file reference in Outlook? In either case, my guess is that you're asking about how to write a VBA macro in Outlook. In either case, I would probably start with the resources at outlookcode.com.

    Regards,

    Bill

  •  11-07-2007, 1:15 AM 28817 in reply to 28816

    Re: Importing Outlook pst files through script

    Hello Bill,

     I'm asking on how to import pst files into an outlook profile. So, lets say you have 10 pst files stored in a networkfolder. If you run the script, these pst files will be opened/attached to your outlook profile the next time you open outlook. It should also check if a pst file has already been openend/imported or not (so there are no duplicates?). Its not about moving data between pst files or moving data to an exchange mailbox.

    I'll have a look at the link you've told me.

    thanks already!

    Dimitri

  •  11-08-2007, 1:27 PM 28835 in reply to 28817

    Re: Importing Outlook pst files through script

     

    Dimitri,

    Go to http://www.dimastr.com/redemption/ and download Outlook Redemption. On this page, go to "Create, access and manipulate MAPI profiles and accounts (Profman library)" and click the Profman link. There is an example script there that looks like it will do what you want called "Create (or reuse) a profile and add a PST file if it is not already there". You can download a free copy for development or purchase a single $199 distributable license for as many copies as you like.

    You could modify this script to iterate through a directory and attach multiple PSTs. Have fun and let me know if this works for you!

     Jeff

     

     

     

View as RSS news feed in XML
SPONSORED LINKS FEATURED LINKS

Interested in Email Encryption? Read about the advantages of identity-based encryption in this free report. Order Your SQL Fundamentals CD Today! Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD. Virtualization Congress Oct. 14-16 in London Don't miss Virtualization Congress, the premiere EMEA conference dedicated to hardware, OS and application virtualization. Oct. 14-16. IT ConnectionsDive into the new Microsoft platforms and products you implement and support with the experts from Microsoft, TechNet Magazine, Windows ITPro and industry gurus. There are 70+ sessions and interactive panels with networking opportunities. Attention User Group Leaders...Announcing the eNews Generator—a FREE HTML e-newsletter builder for user group leaders. Build your HTML and text e-newsletters in minutes and add Windows IT Pro & SQL Server Mag articles alongside your own message!. Master SharePoint with 3 eLearning SeminarsLearn how to build a better SharePoint infrastructure and enable powerful collaboration with MVPs Dan Holme and Michael Noel. Register today! Get SQL Server 2008 at WinConnectionsDon’t miss Microsoft Exchange and Windows Connections conferences, the premier events for Microsoft IT Professionals in Las Vegas, November 10-13. Every attendee will receive a copy of SQL Server 2008 Standard Edition with one CAL.

 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing