Fix PowerShell Script Not Auto-Starting in Task Scheduler - Troubleshooting 502 Bad Gateway with Nginx and RDP-Resolve Teams Authentication Loop in 5 Steps

Prepare
Execute
Validate
Document
Operational follow-up
- Record the exact option, command, or setting that changed the result.
- Keep a rollback note if the workflow affects shared files or team settings.