PowerShell Cache Clear Troubleshooting Checklist - Resolve 502 Bad Gateway in PowerShell-How to Fix Windows Security Real-Time Protection Not Turning On

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