Bidirectional SMB File Sharing Between Linux and Windows 11
Share a Linux ~/project to Windows Explorer via Samba, and mount a Windows D:\project share back on Linux via CIFS — both over Tailscale.
Share a Linux ~/project to Windows Explorer via Samba, and mount a Windows D:\project share back on Linux via CIFS — both over Tailscale.
Invoke-Command reaches the server but dies on the file share, and remote blocks can't see your variables. Both problems, both fixes.
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.
return $x is just $x plus an exit. Everything your function did not swallow becomes the return value, and that breaks scripts.
try/catch only sees terminating errors. Non-terminating errors and native exit codes sail past it. The mechanism and the decision tree.
Mirrored networking promised to expose WSL services on the tailnet. Instead it hid the Tailscale interface, then killed WSL networking entirely.
A practical guide to installing WSL on Windows, configuring your Linux user, moving files between Windows and Linux, and going further with web servers, PowerShell, and VS Code.
A scheduled PowerShell script running as SYSTEM is a high-value target. Lock it down with NTFS ACLs, code signing, auditing, and central deployment.
A scheduled PowerShell watchdog that checks the Windows WWAN APN every 5 minutes and reinstalls the profile and reconnects when it drifts.
Practical Windows 11 hardening steps for local accounts, network protocols, Remote Desktop, memory integrity, and Defender ASR rules.