Optimize PowerShell Scripting Performance: Practical Tips - How to Reduce Windows Defender CPU Usage in Windows 11-How to Fix Windows Defender Error 0x80070422

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