Fix 'powershell not recognized as internal or external command' - How to Run Windows Defender Offline Scan When It Fails-How to Activate Windows on Mac Using Boot Camp Assistant

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