Skip to main content

Posts

Showing posts from February, 2015

Tracking and reporting on the Clutter Folder Item statistics using EWS in Exchange Online

If you haven't missed it Clutter is a new feature in Exchange Online that is trying to help deal with the deluge of email that most people receive each day using machine learning. Clutter has been live for a little while now and processing away in the background (if you have enabled it) so I decided to put together a script that will report on what Clutter has been up to using EWS. So the following script produces a report that is emailed to the owner of the Mailbox the script is run against. The report itself looks likes the following (I've been trying out some new HTML code that's optimized for mobile devices) So the script first enumerates all the Items in the clutter folder and then does some aggregation to work out how many messages in the clutter folder where received in the last 7 days, pervious week and month. It also calculates the total number of attachments ,senders and senders that are in the GAL. To work out if a Sender is in the Global Address List the

Finding a Contact with a Body flag using EWS and eDiscovery (eg added from Microsoft Lync)

With the average size of Mailbox\Archives getting larger by the day eDiscovery on Exchange 2013 is useful for a broad array of tasks. eDiscovery makes use of the KQL (Keyword Query Language https://msdn.microsoft.com/EN-US/library/office/ee558911(v=office.15).aspx  ) which allows you to query for both free text and Queryable properties that have been indexed by the Exchange store and it also allows the use of some more complex operators such as proximity and Synonyms. Let's look at a specific user case for eDiscover, the Lync client on 2013 will automatically add contacts to your Exchange Mailbox in the "Lync Contacts" folder and flag the body of the contact with something like 2/02/2015 This contact was added from Microsoft Lync 2013 (15.0.4675.1000) (if you want to bind directly to the Lync Contacts folder in 2013 you should be able to use the QuickContacts WellKnownFolder Enum eg $folderid= new-object Microsoft.Exchange.WebServices.Data.FolderId([Microsoft.Exch
All sample scripts and source code is provided by for illustrative purposes only. All examples are untested in different environments and therefore, I cannot guarantee or imply reliability, serviceability, or function of these programs.

All code contained herein is provided to you "AS IS" without any warranties of any kind. The implied warranties of non-infringement, merchantability and fitness for a particular purpose are expressly disclaimed.