Need script to count messages in all outlook folders
Posted on 2011-04-29
Hi, we are doing a large scale mail migration from Scalix to online Exchange. I am running a migration tool which is workign well, however I need to verify that all mail was migrated in each users case. However, this is extremely tedious as many of the users have extremely deep folder structures inside of outlook and clicking through each one is not realistic.
What I would like is a script which can scan a local outlook profile (I have credentials for each user and can create a local mail profile for each one), and pull a list of folders, and the number of messages in each folder into Excel. From this, I will be able to compare with my migration results to ensure the number of messages match up. If there are cases where messages were missed, it will be easy for me to see and dig deeper.
I'm also not very well versed in scripting, so if you could include instructions on how exactly I would run the script, this would be appreciated.
If you need any further information, please let me know.