PowerShell Path Not Found: Troubleshooting Checklist - Resolve PowerShell Command Not Found Error-How to Resolve Error 0x80070020 on 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.