Resolving PowerShell Version Mismatch in Automation Scripts - Resolve Microsoft Store Error 0x80070424 Login Loop-Error 0x8007000d: Fix Windows Activation Stuck in Loop

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