Home » Blog » Update to the Office 365 Message Center Digest Email Script

Update to the Office 365 Message Center Digest Email Script

A couple of weeks ago I released my PowerShell script for generating an email report of Office 365 Message Center notifications. After it was released one reader, Ryan Mitchell, kindly sent me some changes that he had made to improve the styling of the email report. My original styling was a bit bland, and just dumped the message text from the notification into the email without tidying up any of the formatting. Ryan has fixed both of those issues, and the updated script is now available on the TechNet Script Gallery. You can read more about how to use the script here.

Here’s a comparison of the two different styles so that you can see the improvements Ryan made.

Click to enlarge
Paul is a Microsoft MVP for Office Servers and Services. He works as a consultant, writer, and trainer specializing in Office 365 and Exchange Server. Paul is a co-author of Office 365 for IT Pros and several other books, and is also a Pluralsight author.
Category: Blog


  1. Sheetal says:

    Hi Paul, This is a great script, thanks for sharing. Could you please let me know if there is a way to pull out only EXO events?

  2. Vandrey Trindade says:


    I’ve got part of your script and modified to adapt to my environment.
    Can’t find the part that Ryan Mitchell modified. It wasn’t supposed to be on the $htmlhead=”…” part? I checked and it’s the same with the new file and the old one.

  3. Vandrey Trindade says:


    Thanks but, I tried that again right now and still has the same $htmlhead=”…” part as the old one… Is that section that has the formatting code, right?

  4. Vandrey Trindade says:

    Paul Cunningham,

    Hi, it seems that I’m not able to post new comments…
    The New-SCSession is not working today…

Leave a Reply

Your email address will not be published. Required fields are marked *