PowerShell DNS Server Troubleshooting Checklist - Fix 502 Bad Gateway in PowerShell Invoke-WebRequest-Fix Authentication Failed in Task Scheduler

Likely symptom
Likely cause
Safe rollback
Verification route
- Repeat the original action, not only a simplified test case.
- Restart the app or reload the service after configuration changes.