I wrote this particular tool quite some time ago, and thought I had already created a download item for it - but apparently not. It was written during a time that I started to experiment with the Redemption toolkit, for Outlook. Redemption is done by the same guy that did Outlook Spy.
The tool is written in C# with Visual Studio 2010. It should be possible to mimic this in pretty much any .Net language and any flavour of Visual Studio. It's currently built with .Net framework 4.0, but it should be possible to use 'older' versions.
What the tool does is as follows :
Logon to a specified Mailbox, on a specified Exchange server.
Get the default Contacts folder
Process each hidden message in that folder, looking for the Enterprise Vault Filter Message.
If the message is found we output the properties of the Message
The tool can be run with a debug mode flag so you can see what it is doing. And it can be run with the NAME of a folder, and instead of latching on to the default contacts folder it will attempt to process the named folder. (I have not tested that extensively !)
I have included two attachments:
The main executable
The source code
If you want to build the tool from scratch you need to :
Open the solution in Visual Studio, and check you do not get any unresolved references << Particular towards Redemption
I have not tried this with Exchange 2010.. Only 2003 and 2007.