Run a Single PowerShell Script Without Changing Execution Policy - Windows Defender Command Not Found in PowerShell: Fixes-How to Fix Windows Defender 502 Bad Gateway Error

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