Outlook 2010 VB script export ost to pst

I know it's possible to script the export in Outlook 2007, but what about Outlook 2010?  Can someone point me in the right direction or does anyone have a vb script to do this in Outlook 2010?
dnagle33Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Alexei KuznetsovMicrosoft Outlook MVPCommented:
No. You can't even in Outlook 2007. No way to create a pure vbscript that converts OST to PST. Third-party utility/library is required.
alanccwCommented:
There are several methods to convert OST file to PST file.


First, Microsoft does not provide an official tool to do the conversion. However, if you can access the contents of the OST file in your Outlook, then you can perform the conversion manually, as follows:


1. Start Outlook. Make sure you can access all the contents in the OST file to be converted.
2. Create a new PST file.
3. Go to the OST file, select and copy all the contents to be converted with your mouse.
4. Go back to the new PST file, then paste all the contents into the PST file


That will do the conversion.


You can also perform the conversion by export the contents of the OST file to a PST file by following the instructions at:


http://office.microsoft.com/en-001/outlook-help/export-outlook-items-to-an-outlook-data-file-pst-HA102534110.aspx


Second, if you can access the Exchange server containing the account data for the OST file, then you can use Export-Mailbox command to export the data into a PST file, similar to convert your OST file into a PST file. Below is the article about doing that:


http://technet.microsoft.com/en-us/library/bb266964.aspx
http://technet.microsoft.com/en-us/library/cc535123.aspx


Third, if you cannot access the OST file via Outlook, neither can you access the Exchange Server, then you can refer to Outlook MVPs' website discussing about this issue:


http://www.slipstick.com/problems/pst-repair/convert-an-exchange-offline-file-ost-to-a-personal-file-pst/


Forth, there are many third-party OST to PST conversion tools you can try, below is a list of them:


http://www.datanumen.com/exchange-recovery/compare.htm


Nearly all these tools provide a free trial so you can try first to see if a tool works before purchase it.


Good luck!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
aish smithSr DeveloperCommented:
Not available on internet but you can use any third party tool like these
https://www.softknoll.com/ost-to-pst-converter/
and
http://www.osttopstapp.com/
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.