How to Fix PowerShell Error 0x80070002 (File Not Found) - How to Increase Remote Desktop Connection Timeout-Resolving 502 Bad Gateway with Invoke-WebRequest

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.