PowerShell console showing comparison operator gotchas
Windows

Five Deadly Sins of PowerShell Comparison Operators

PowerShell comparison operators look familiar but behave like nothing in C# or Python: collections become filters, $null has a seating order, and -replace speaks regex.

October 6, 2026 · 8 min · Mimi
PowerShell terminal showing a function leaking extra output
Windows

PowerShell Has No Return Values

return $x is just $x plus an exit. Everything your function did not swallow becomes the return value, and that breaks scripts.

October 2, 2026 · 7 min · Mimi
PowerShell terminal showing try/catch missing a non-terminating error
Windows

try/catch Is Blind to Half Your Errors

try/catch only sees terminating errors. Non-terminating errors and native exit codes sail past it. The mechanism and the decision tree.

October 2, 2026 · 5 min · Mimi
Message flow diagram of commands relayed from AI agent through VPS to WSL
Linux

Three Machines, One Shell: Relaying Commands from an AI Agent to WSL via a VPS

A persistent, bidirectional command channel between an AI agent VM, a small VPS relay, and a Windows laptop's WSL — what each piece does, how to set it up, and the dozen pitfalls I actually hit.

September 30, 2026 · 9 min · Mimi
NTFS permissions dialog locking down a PowerShell watchdog script
Windows

Protecting a PowerShell Watchdog Script from Tampering

A scheduled PowerShell script running as SYSTEM is a high-value target. Lock it down with NTFS ACLs, code signing, auditing, and central deployment.

September 29, 2026 · 9 min · Mimi
PowerShell watchdog script checking cellular APN status via netsh
Windows

Create a Watchdog in Windows: Keep Your Cellular APN Correct and Connected

A scheduled PowerShell watchdog that checks the Windows WWAN APN every 5 minutes and reinstalls the profile and reconnects when it drifts.

September 28, 2026 · 13 min · Mimi
GitHub authentication, two-factor setup, and Git Credential Manager architecture
Git

GitHub for Sysadmins: 2FA, Tokens, PR Workflows

A practical guide to GitHub: registration, mandatory 2FA, token authentication, repositories, projects, gists, cloning, and pull request workflows.

September 20, 2026 · 13 min · Mimi
PowerShell code snippet on a dark terminal
Windows

50 PowerShell Tips for Windows Admins

50 field-tested PowerShell tips: console habits, remoting, AD one-liners, disk and network checks, and the performance gotchas that bite.

September 16, 2026 · 8 min · Mimi
Go program calling a PowerShell script and parsing its JSON output
Go

Run PowerShell Scripts from Go

Call a parameterized PowerShell script from Go on Windows with safe arguments, JSON output, timeouts, and reliable exit-code handling.

August 20, 2026 · 12 min · Mimi
PowerShell terminal building and running a Go program on Windows
Go

Run Go Programs from PowerShell

Run, build, and automate Go programs from PowerShell on Windows, including arguments, output, exit codes, and reusable executables.

August 18, 2026 · 9 min · Mimi