Page 1 of 1

EMail Report

PostPosted: 09.05.2018, 19:21
by rratt
I would like to see an email report sent to a email address before reboot/shutdown. Not sent if no updates installed. I am willing to write it (if I can find the time).

Arthur Donchey

Re: EMail Report

PostPosted: 09.05.2018, 20:34
by Dalai
You can make use of the templates wsusoffline\client\cmd\custom\FinalizationHook.cmd (rename from .cmdt) where you can analyze WSUS Offline's exit code or environment variable - probably %REBOOT_REQUIRED% and %RECALL_REQUIRED% - and act accordingly, calling a console mail program like Blat or Bmail or some other program mentioned in this StackOverflow thread.

Regards
Dalai

Re: EMail Report

PostPosted: 09.05.2018, 20:41
by rratt
Cool, that a good idea. I have used blat (I am also a contributing programmer).