Merge multiple PSTs from command-line

R

Rick Early

I've been using EXMERGE to get data from mailboxes but it forces you to save into a PST named the same as the e-mail account. If I want to export a temporary list of e-mails for all users (400) it will create 400 files. I'd like them all placed into one PST file

Does anyone know if EXMERGE can do this
I don't think it can, so if not, is there and automated means to merge 400 PSTs into one? What if I just DOS copied them all together and ran SCANPST against the final file?
 
B

Brian Tillman

Rick Early said:
I've been using EXMERGE to get data from mailboxes but it forces you
to save into a PST named the same as the e-mail account. If I want
to export a temporary list of e-mails for all users (400) it will
create 400 files. I'd like them all placed into one PST file.

Does anyone know if EXMERGE can do this?
I don't think it can, so if not, is there and automated means to
merge 400 PSTs into one? What if I just DOS copied them all together
and ran SCANPST against the final file?

Unicode or ANSI PSTs? If the latter, I'd be surprised if you had any chance
at all, since a single PST can't exceed 1.82Gb in size.
 
R

Roady [MVP]

What are you trying to accomplish (and perhaps; why)?

--
Robert Sparnaaij [MVP-Outlook]
www.howto-outlook.com

Tips of the month:
-Creating Signatures
-Create an Office XP CD slipstreamed with Service Pack 3
 
R

Rick E

Ok, long story from the start. I need to review all e-mails that are in the dumpster on our exchange server using VBScript. My research showed I couldn't get to the dumpster items using VBScript (need C++) so I felt EXMERGE was a good method. I'd just dump all the items out from all dumpsters into a PST. But EXMERGE places them in separate PSTs. I can't find anywhere that says I can read a PST with VBS unless its in the Outlook profile (I'd have about 400 PSTs at this point) so rather than add them to the profile one by one, I'd like to get them merged somehow and add that single PST to the profile.

I have VBS code that walks through the Exchange server looking for e-mails with certain characteristics. I need to include the dumpster in this but it drifted into multiple PST files. Make sense?

Roady said:
What are you trying to accomplish (and perhaps; why)?

--
Robert Sparnaaij [MVP-Outlook]
www.howto-outlook.com

Tips of the month:
-Creating Signatures
-Create an Office XP CD slipstreamed with Service Pack 3

-----
Rick Early said:
I've been using EXMERGE to get data from mailboxes but it forces you to
save into a PST named the same as the e-mail account. If I want to export
a temporary list of e-mails for all users (400) it will create 400 files.
I'd like them all placed into one PST file.

Does anyone know if EXMERGE can do this?
I don't think it can, so if not, is there and automated means to merge 400
PSTs into one? What if I just DOS copied them all together and ran
SCANPST against the final file?
 
R

Roady [MVP]

Better ask again in the developer newsgroup; outlook.programming_vba

--
Robert Sparnaaij [MVP-Outlook]
www.howto-outlook.com

Tips of the month:
-Creating Signatures
-Create an Office XP CD slipstreamed with Service Pack 3

-----
Rick E said:
Ok, long story from the start. I need to review all e-mails that are in
the dumpster on our exchange server using VBScript. My research showed I
couldn't get to the dumpster items using VBScript (need C++) so I felt
EXMERGE was a good method. I'd just dump all the items out from all
dumpsters into a PST. But EXMERGE places them in separate PSTs. I can't
find anywhere that says I can read a PST with VBS unless its in the
Outlook profile (I'd have about 400 PSTs at this point) so rather than add
them to the profile one by one, I'd like to get them merged somehow and
add that single PST to the profile.

I have VBS code that walks through the Exchange server looking for e-mails
with certain characteristics. I need to include the dumpster in this but
it drifted into multiple PST files. Make sense?

Roady said:
What are you trying to accomplish (and perhaps; why)?

--
Robert Sparnaaij [MVP-Outlook]
www.howto-outlook.com

Tips of the month:
-Creating Signatures
-Create an Office XP CD slipstreamed with Service Pack 3

-----
Rick Early said:
I've been using EXMERGE to get data from mailboxes but it forces you to
save into a PST named the same as the e-mail account. If I want to
export
a temporary list of e-mails for all users (400) it will create 400
files.
I'd like them all placed into one PST file.

Does anyone know if EXMERGE can do this?
I don't think it can, so if not, is there and automated means to merge
400
PSTs into one? What if I just DOS copied them all together and ran
SCANPST against the final file?
 
Top