Hi everybody,
I want to count the number of attachments in mailbox. Kindly help me.
Thanks & regards,
Talib Hussain
- Edited by talib2608 Wednesday, January 21, 2015 5:49 AM
Technology Tips and News
Hi everybody,
I want to count the number of attachments in mailbox. Kindly help me.
Thanks & regards,
Talib Hussain
You can do that by enumerating every message in every folder that has attachment using EWS and then count them one by one. Its a time consuming process see http://gsexdev.blogspot.com.au/2013/09/exchange-attachment-statistics.html for a sample script
Cheer
Glen
Hi Glen,
I saw that script. It there some other way?
Hi Glen,
Get-MailboxStatistics & Get-MailboxFolderStatistics are helpful regarding items, not attachments. And that too, both commands give wrong information. Actual data present in a mailbox is different, Get-MailboxStatistics give different results & Get-MailboxFolderStatistics give different results.