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

Maximize speed, performance and reliablity of your PCs and servers—automatically!Speed Up Your PC! Try Diskeeper 2008 with InvisiTasking Free Now! Microsoft Learning Snack - Green IT Through Virtualization Many organizations face rising operating costs caused by excessive energy consumption. Virtualization and "Green IT" can help cut these costs. Get the information you need to bring Green IT savings to your business. Order Your Fundamentals CD Today!Register today for your in-depth copy of one of three Fundamental CDs on the following topics – Exchange, SQL, and SharePoint. Microsoft Learning Snack - Virtualization With Windows Server 2008Windows Server 2008 includes virtualization technology that allows many operating systems - including open source - to run on a single host. Come learn the basics of implementing these features. Microsoft Learning Snack - Virtualization BasicsWith virtualization, computing components essentially become on-demand services, freeing each element of a system from the others. This short video explains the needs, benefits, and technologies behind virtualization. Microsoft Learning Snack - Virtualization BasicsWith virtualization, computing components essentially become on-demand services, freeing each element of a system from the others. This short video explains the needs, benefits, and technologies behind virtualization. Microsoft Learning Snack - Virtualization With Windows Server 2008Windows Server 2008 includes virtualization technology that allows many operating systems - including open source - to run on a single host. Come learn the basics of implementing these features. Empower Your Processes with PowerShell 201Paul Robichaux delves deep into PowerShell how-tos in 3 informative lessons, each followed by live Q&A—all on your own computer! Register today! Microsoft Learning Snack - Green IT Through VirtualizationMany organizations face rising operating costs caused by excessive energy consumption. Virtualization and "Green IT" can help cut these costs. Get the information you need to bring Green IT savings to your business. New Release: Windows IT Pro Master CD13 years of content archives, fast answers with advanced search tools, and full access to WindowsITPro.com—order today!

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