Check PowerShell Version Before Running Scripts - Check Port Usage with PowerShell Commands-Windows Terminal Log File Path: PowerShell Method

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.