Script Download: The script is available for download from http://gallery.technet.microsoft.com/How-to-extract-reports-to-5cb7c47a. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This script is to help Exchange Administrators to generate a utilization report of organization's DG. And this script can generate a report with message details sent or received from a DG.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery