Watch-Win32_UPS is a utility written in PowerShell (v 7.1) that taps into the Windows Win32_Battery class in order to provide the following functions: * Email alerts * Logging functions * Action script Watch-Win32_UPS monitors the battery state, the percentage capacity and the estimated run time remaining (in minutes). It raised email alerts, logs events or invokes the shutdown script based on these settings. All options are customisable and optional. Watch-Win32_UPS can be setup so that no email alerts are generated, or have logging switched off. The Action script is optional as well. At least one of the three options must be activated for the utility to run (let's save CPU cycles if nothing useful is coming out of this.) For more information type get-help .\Watch-Win32_UPS.ps1 or .\Watch-Win32_UPS.ps1 –help The most up-to-date version of this utility can be downloaded from https://github.com/chribonn/UPSMonitor ....