How to Fix PowerShell Access Denied Errors on Windows - Resolve 'MpCmdRun' Not Recognized in Windows-Fixing PowerShell Command Errors Post Windows 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.