Fix 'powershell not recognized as internal or external command' - Troubleshoot 502 Bad Gateway Error Post-Reboot-Microsoft Defender Missing from Settings Post-Update

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