Setting Up PowerShell Transcript Logging: A Practical Guide - Fix Microsoft Teams 504 Gateway Timeout Error-Resolve Windows Security Startup Error Due to Group Policy

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