by

Dialog statistics with EWS

Dialog statistics with EWS Conversations have been a sizzling space within the Messaging house not too long ago with many various options jockeying for consideration resembling Yammer, Workplace365 Teams , Slack, HipChat, Skype for enterprise and plenty of different. Every answer gives a distinct technique to speak and thread completely different conversations in several methods  over completely different purchasers and communication platforms. Usually in Trade conversations both happen in Mailboxes or Public folders whereas Teams are a now a more recent providing.

Relating to reporting,  conversations can supply some attention-grabbing insights as to when conversations are taking place how many individuals are taking part and the place a Group or Channel based mostly answer may present some type of productiveness acquire or usefulness.

In EWS in Trade 2010 and greator the findconversation operation means that you can question and group dialog threads in a Mailbox folder and you’ll then use the knowledge returned in regards to the conversations to get the person dialog objects in a Mailbox utilizing the Batch EWS operations. 

To reveal a few of this I’ve give you a PowerShell module that does simply that it first makes use of the FindCoversation operation to get the Messages from the Inbox of a Mailbox or different folders should you use the FolderPath swap.  The script enumerates all of the obtainable message from the dialog that it seems at (eg these with extra then 2 individuals and a pair of messages). It then compiles statistics for every dialog in regards to the

Variety of messages, individuals
Begin and length of the dialog thread in hours
The unique sender of the thread and what number of messages they despatched
The loud mouth (the one that is not the originate of the thread  who has responded probably the most) and variety of Messages. from this individual

I’ve put a replica of the module on GitHub right here https://github.com/gscales/Powershell-Scripts/blob/grasp/EWSConversation.ps1 to run the script you cross within the Mailbox you need it to run in opposition to and interval of days to look again eg

 Get-ConversationStats -MailboxName gscales@datarumble.com -Interval 60

If you’re transferring conversations into a distinct folder in a Mailbox utilizing a Rule eg from a Distribution listing you possibly can report on these folders utilizing the FolderPath parameter eg

 Get-ConversationStats -MailboxName gscales@datarumble.com -Interval 60 -FolderPath InboxBlahGroup