Fix 'PowerShell Not Recognized as Internal or External Command' - Troubleshooting PowerShell Restore Permission Errors-How to Fix Windows Terminal Error 0x80070005

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