How to Fix PowerShell Version Mismatch Error - Windows Defender 502 Bad Gateway: Setup and Troubleshooting Guide-Troubleshoot PowerShell Missing Module

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