Resolve PowerShell Module Dependency Conflicts - How to Fix Task Scheduler Event ID 101-Fix 502 Bad Gateway with Command Line Tools

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