Reporting

-FirstRun is the only routine that will always create a TXT log file which is located in WAM Logs.

(Windows Menu > Programs > AJ Tek > WSUS Automated Maintenance > WAM Logs)

Every other run will honour the settings listed in the configuration file.

(Windows Menu > Programs > AJ Tek > WSUS Automated Maintenance > WAM Configuration)

The default settings are to only email the report daily. If you wish it to always save the report too, switch $AJTekSaveReport to $True. If you only wish it to save the report also change $AJTekMailReport to $False

Please be aware that you should be checking the daily log (email or file) for any errors or anything out of the ordinary. It usually takes between 3-10 seconds to glance over it before deleting it.

 

################################
#  Mail Report or Save Report  #
################################

# Do you want to enable the Mail Report for every run?
[boolean]$AJTekMailReport = $True

# Do you want the mailed report to be in HTML or plain text? (Valid options are ‘HTML’ or ‘TXT’)
[string]$AJTekMailReportType = ‘HTML’

# Do you want to enable the save report for every run? (-FirstRun will save the report regardless)
[boolean]$AJTekSaveReport = $False

# Do you want the saved report to be outputted in HTML or plain text? (Valid options are ‘HTML’ or ‘TXT’)
[string]$AJTekSaveReportType = ‘TXT’