How to create Outlook .pst file using VBscript or command line.

Nitin Rohitgi
Nitin Rohitgi used Ask the Experts™
on
I want to create an automation for customer where, New .pst file will auto create and mapped with user profile when old .pst file size cross 2GB.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Business Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018
Commented:
There is not an Outlook command to do this. PST is a proprietary format as well.

https://social.technet.microsoft.com/wiki/contents/articles/7271.outlook-2010-executable-switches.aspx

Use the Archive Function to keep the main file below 2 GB. That works fine. I do this myself.
Alexei KuznetsovMicrosoft Outlook MVP
Commented:
I know the commercial product that provides the command line you can use to create/add PST files to Outlook profile.
Shaun VermaakTechnical Specialist
Awarded 2017
Distinguished Expert 2018
Commented:
Create an empty PST and use it as a template by creating copies of it
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
This problem is solved by archiving and solutions were provided.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial