Fix PowerShell Command Not Recognized in Windows 11 - OneDrive Sync Failed After Windows 11 Update – How to Fix-How to Resolve Windows Update 0x80070002

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