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:

.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


This post has first been posted on my legacy blog.

Entdecke mehr von Granikos GmbH & Co. KG

Jetzt abonnieren, um weiterzulesen und auf das gesamte Archiv zuzugreifen.

Weiterlesen