Fix 'Run PowerShell Script Command Not Found' Error - PowerShell Logging Setup and Configuration-Fix Remote Desktop Port Already Allocated Error 0x80004005

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