PwshTips / field notes for admins

PowerShell for real administration

Practical scripts, troubleshooting notes, and repeatable workflows for Windows, PowerShell, WSL, Linux, and automation.

Start with a focused guide, copy a tested command, and adapt it to your environment.

PwshTips PowerShell and Windows administration

Clear commands. Real constraints. Fewer surprises.

Terminal showing a zombie job re-executing a deploy on every relay restart
Linux

Zero-Byte Deploys and Zombie Jobs: A Failover War Story

Building a 60-second failover standby for my dev environment — and the two outages that taught me to never trust an all-green deploy chain.

October 1, 2026 · 9 min · PwshTips
text code snippet
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 · PwshTips
powershell code snippet
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 · PwshTips
powershell code snippet
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 · PwshTips
Three-node connection flow from a laptop through the Oracle VPS to the Muse VM
VPS

From Anywhere to My MUSE AI's Shell

A Tailscale terminal-access postmortem: separate control-plane failures from SSH, trace TCP resets, and choose an authenticated access path.

September 27, 2026 · 14 min · PwshTips
Copilot opened from GitHub.com in the Microsoft Edge sidebar
AI

What is Copilot?

A practical guide to Microsoft Copilot, Microsoft 365, GitHub Copilot, phone and web apps, IDE integrations, prices, and alternatives.

September 26, 2026 · 11 min · PwshTips
OCI ingress rules with port 443 limited to source 10.0.0.0/16
VPS

SSH Tunnel to VPS: A Reverse Tunnel Blocked by Egress Filtering

A reverse SSH tunnel test with an Oracle Cloud VPS, Ubuntu socket activation, proxy diagnostics, and the egress policy that stopped connectivity.

September 25, 2026 · 12 min · PwshTips
powershell code snippet
Windows

Harden your Windows

Practical Windows 11 hardening steps for local accounts, network protocols, Remote Desktop, memory integrity, and Defender ASR rules.

September 24, 2026 · 12 min · PwshTips
WSL update failed exit code 1618
Windows

WSL Update Failed with 1618

How to troubleshoot and fix WSL update error 1618 (Wsl/UpdatePackage/0x80070652) caused by concurrent Windows Installer locks and pending system reboots.

September 23, 2026 · 10 min · PwshTips
powershell code snippet
Windows

Enable remote edit on Windows

Install Microsoft's lightweight Edit terminal editor with winget and use it safely over SSH or PowerShell remoting, with Vim as a fallback.

September 22, 2026 · 9 min · PwshTips