Check PowerShell Version Before Running Scripts - How to Fix Remote Desktop Gateway Error 500-Resolve SSH and WSL Timeout Errors in Windows Terminal

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