X

Mount Synology NAS to Raspberry Pi Using NFS

Here's the equipment I used, this should work similarly on other software versions: Synology NAS Running DSM 7.0 Raspberry Pi running Raspbian 10 (Buster) This tutorial is based on these instructions from Synology, with modifications because they didn't work exactly…

PowerShell Terminal: Menu Template

I created this for part of a bigger project and figured it'd make a good generic template for any PowerShell script needing a basic menu using the up and down arrow keys and enter key to make a selection.  For…

Schedule Windows Notifications with PowerShell (Windows Task Scheduler / Toast Notifications)

I’ve found too many times that I can sit in front of a computer screen for several hours without taking a break but that later in the day the eye strain catches up with me. I wanted something to remind…

Raspberry Pi: Schedule Print Job

After having a couple sets of ink cartridges dry up on me after extended non-use, I learned that I'd need to print something regularly to keep my cheap inkjet printer working. After ignoring a few of my own reminders to…

Raspberry Pi – Minimal Headless Setup

For my own quick reference, mostly taken from here: See end of article if SD card was previously used. Download Raspbian from https://www.raspberrypi.org/downloads/raspbian/ Download and install Win32DiskImager from https://sourceforge.net/projects/win32diskimager/ Using Win32 Disk Imager, write the ISO to the SD card Add a…

Ubuntu: Resume Script in Terminal After Reboot

I needed to reboot in the middle of my shell script to install Kubernetes / Brigade, and my Googling found several people with similar questions, but no answers that quite worked for me. Here's the basic code just to get…

Self-Elevating PowerShell and Batch Scripts

Many scripts require admin permissions, but remembering to right click and select "Run as Administrator" can be a pain. Fortunately, both batch and PowerShell scripts can written so that they'll prompt for admin permissions if not run as an administrator.…

Domain User Account Info

This is a short but incredibly useful command line command I've found for pulling information on domain accounts in an Active Directory environment: The net user command is designed to create / update domain accounts, but in this form just…