Posts

Windows UPS Monitor and Shutdown utility: Watch-Win32_UPS

Image
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 . Action Script The purpose of the action script is

HOWTO Secure the msmtp configuration file using libsecret's secret-tool password manager store and switch from Google to Microsoft SMTP servers (Ubuntu)

Image
Links Permanent location of video version: https://youtu.be/vHmnH6IijJM Permanent location of text version: https://www.alanbonnici.com/2020/11/howto-secure-msmtp-configuration-file.html

HOWTO Send an email using Gmail from a system configuration using msmtp and heirloom-mailx (Ubuntu)

Image
Links Permanent location of video version: https://youtu.be/J1DHQG5qFdU Permanent location of text version: https://www.alanbonnici.com/2020/11/howto-send-email-from-google-from.html Introduction and Scope The following procedure describes the steps to follow to create a solution what will send out an email. This was verified on Ubuntu (both server and GUI platforms). The setting will be stored as a system configuration rather than a user configuration (in which each user have their specific settings). The reasons to configure the solution to use a system configuration are: 1. The settings are global and can therefore be used by multiple  users. 2. One can send an email before a user has logged in.  In this HOWTO we program the system so that it send an email whenever the computer boots (no user yet logged in). 3. There is only one configuration to maintain. We will be using as msmtp. Msmtp is a simple SMTP client. The documentation page for this product is at https://wiki.archlinux.or

Samsung SmartTV's do not have any memory for security updates and user-c...

Image
When a technician asks you to reset your Samsung TV to make more memory available send them to this page. The problem is not you but Samsung's TVs and their corporate agreements.

20200719: 105km Bike ride

HOWTO find the latest firmware for your Samsung SmartTV model on Samsung's Support Website

Image

HOWTO Find out the full model reference of your Samsung SmartTV and the installed Firmware version.

Image