Analyze Mailbox Items Class or Type
The purpose of this script is to go through every single item in a mailbox and produce a report listing the class (or type) of each item and how many items of each class were found in the mailbox:
Processed 52 folders and 19163 items.
I created this script to have an idea of how items had been archived by EnterpriseVault across users’ mailboxes (IPM.NOTE.EnterpriseVault.Shortcut class). The script reports on all item classes, but it can easily be changed to only look for a particular class, such as EV stubs for example.
To download the complete final script, please head on to the TechNet Script Gallery.