PowerShell console showing a double-hop Access Denied error and the using scope fix
Windows

Two Hurdles in PowerShell Remoting: Double-Hop Authentication and the $using: Scope

Invoke-Command reaches the server but dies on the file share, and remote blocks can't see your variables. Both problems, both fixes.

October 7, 2026 · 8 min · Mimi
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
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
PowerShell New-NetFirewallRule snippet on a dark terminal
Windows

How to Block League of Legends with Windows Firewall

Router port blocking can't stop League of Legends. Here's why it fails — and a PowerShell script that blocks it with Windows Firewall app rules, demotes the user to standard, and deploys over PSSession or SSH.

September 14, 2026 · 11 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