How to Clear PowerShell Console History and Cache - Fix 'Task Scheduler Cannot Start Task: Port Already Allocated'-How to Fix Windows Search Auth Failure

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