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.
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.
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.
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.
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.
A practical guide to Microsoft Copilot, Microsoft 365, GitHub Copilot, phone and web apps, IDE integrations, prices, and alternatives.
Practical Windows 11 hardening steps for local accounts, network protocols, Remote Desktop, memory integrity, and Defender ASR rules.