Email reporting added to Purge Logfile script

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:

Switch to send an Html report

Email address of report sender

Email address of report recipient
.PARAMETER MailServer 
SMTP Server for email report


This post has first been posted on my legacy blog.

%d Bloggern gefällt das: