The PowerShell script to purge IIS and Exchange Server 2013 has been updated to support email reporting.
When executed by a scheduled task, it is beneficial to Exchange Administrators to receive some confirmation of the script execution.
If using the SendMail switch, a summary report is sent as an Html email
Parameters added:
.PARAMETER SendMail Switch to send an Html report .PARAMETER MailFrom Email address of report sender .PARAMETER MailTo Email address of report recipient .PARAMETER MailServer SMTP Server for email report
Links
Purge Exchange Server 2013 and IIS Log Files at Technet Gallery- Purge-Logfiles at Github
This post has first been posted on my legacy blog.