Fix PowerShell SQL Server Permission Denied Error - Fix 'Command Not Found' in Windows Terminal Profile Script-Fix High Memory Usage in Windows Terminal

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