How to Reduce PowerShell High Memory Usage - Permission Denied in PowerShell on Windows 10: Fix-Reduce OneDrive High Memory Usage: Configuration Settings

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