PowerShell Script Log File Setup Checklist - Resolve Windows Proxy Server Error-Windows Search 502 Gateway Error Troubleshooting

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