Checklist for PowerShell Startup Script Not Working - How to Fix PowerShell WinRM Connection Refused-How to Test and Fix 504 Errors Using Curl

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