How to Fix PowerShell Connection Refused Error - Resolve 504 Error in Scheduled Tasks-Install Missing PowerShell Modules: Step-by-Step

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