Resolving PowerShell Version Mismatch in Automation Scripts - Resolve Windows Update 404 Error in Windows 10-PowerShell Command Not Found Fix

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