Fix 'powershell not recognized as internal or external command' - Fix PowerShell Scripts Blocked by Group Policy-Troubleshooting Remote Desktop 504 Gateway Timeout

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