Here is the link for the script I am using for email transfer in my Exchange servers (Version 1.0).
The script is wrote in powershell.
It is can be run from command line like schedule task: “C:WindowsSystem32WindowsPowerShellv1.0powershell.exe -command C:ScheduleTasksactive_directory_expiration.ps1”
Download the Script and rename the suffix from .txt to .ps1
On the first section you need to feel relevant data for your domain and file location to place the HTML’s (change the brackets to relevant data, NO NEED BRACKETS!!!):
$MonthlyReport = “[HTML file to collect monthly data]”
$strFile = “[HTML file to publish]”
$internaldomain = “[Domain.com]”
I will be glade to get suggestions…
Thanks
Tal
*Based on http://gallery.technet.microsoft.com/scriptcenter/Total-Emails-Sent-and-c1daf5e7 ***Thanks***