Just bought brand new APC Back-UPS Pro BR 1300VA BR1300MI to replace my ancient Powercom Black Knight Pro and faced the difficulties that I could not foresee in advance - PowerChute Personal Edition : )
Of course, like all new buyers, at first I could not believe that there were no mail notifications, but now I'm on this forum my friends! : )
As I already know home users have to devise some exquisite scripts to be able to get e-mail notification from their APC Back-UPS ^^
So please could you provide some detailed manual for windows home regular users how to create those scripts or any workaround.
Goal_1: e-mail notification for power loss
Goal_2: e-mail notification for power restore
Any help will be highly appreciative ^^
Check out this post. https://clusteringformeremortals.com/2018/10/28/step-by-step-how-to-trigger-an-email-alert-from-a-windows-event-that-includes-the-event-details-using-windows-server-2016/ I have attached a text copy of a similar PowerShell script. You would replace the gmail address and password with your own and change the file type to .ps1.
Depending on your system setting you may need to change PowerShell security to allow the script to run. See https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7 for info on PowerShell execution policies.
When editing the task event filter the event log would be Application. Event source would be APC UPS Service.
If using SMTP.gmail.com you will need to allow the app to interact with gmail. See Gmail less secure apps for more information. https://support.google.com/a/answer/6260879?hl=en
Add a list of event IDs that can be added to the PowerShell script.
Choose a location