Is there a way to count # of emails in a pst?

  • Thread starter Thread starter hammerhead13
  • Start date Start date
H

hammerhead13

I need to find a way to count the # of emails in a .PST without actually
opening it. If there are any 3rd party programs or a script I can run
that would be great. If I do have to open the .PST and it is my only
option, could anyone tell me the fastest way to get this information?
Thanks!
 
hammerhead13 said:
I need to find a way to count the # of emails in a .PST without
actually opening it.

Not possible. You must open a file in order to determine the content.
 
I don't recall if any of the pst tools will show message count in the manner
I think you want. Kernal tools does, but it might be more of a 'we
recovered x # of items' - see
http://www.slipstick.com/problems/repair2gbpst.asp for a link to it.
Sherpasoftware.com has pst management tools but I don't think they count
messages.

you can also do it using VBA - see
http://www.vboffice.net/sample.html?mnu=2&pub=6&smp=12&cmd=showitem&lang=en
for a code sample of how to walk the folders.
http://support.microsoft.com/kb/171603/en-us counts unread messages.


--
Diane Poremsky [MVP - Outlook]
Need Help with Common Tasks? http://www.outlook-tips.net/beginner/
Outlook 2007: http://www.slipstick.com/outlook/ol2007/



Exchange Messaging Outlook newsletter:
(e-mail address removed)




Access this newsgroup directly by visiting
http://www.microsoft.com/office/community/en-us/default.mspx
 
Diane Poremsky {MVP} said:
I don't recall if any of the pst tools will show message count in the
manner I think you want. Kernal tools does, but it might be more of
a 'we recovered x # of items' - see
http://www.slipstick.com/problems/repair2gbpst.asp for a link to it.
Sherpasoftware.com has pst management tools but I don't think they
count messages.

you can also do it using VBA - see
http://www.vboffice.net/sample.html?mnu=2&pub=6&smp=12&cmd=showitem&lang=en
for a code sample of how to walk the folders.
http://support.microsoft.com/kb/171603/en-us counts unread messages.

But those solutions open the file and not opening the file was an initial
criterion.
 
He asked:
that would be great. If I do have to open the .PST and it is my only
option, could anyone tell me the fastest way to get this information?

I answered.

Kernel tools might do it without opening it in outlook.

--
Diane Poremsky [MVP - Outlook]
Need Help with Common Tasks? http://www.outlook-tips.net/beginner/
Outlook 2007: http://www.slipstick.com/outlook/ol2007/



Exchange Messaging Outlook newsletter:
(e-mail address removed)




Access this newsgroup directly by visiting
http://www.microsoft.com/office/community/en-us/default.mspx
 
Back
Top