Fix Command Prompt Connection Timeout Errors - Task Scheduler Invalid Configuration: How to Fix-How to Run PowerShell Scripts on Mac (Using PowerShell Core)

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