Conversation
Version2.2
- Clean-ToolOutput -> Convert-ToolOutput (+call site) - Run-Tool -> Invoke-Tool (+call sites) - Generate-Report -> New-Report (+call sites) - Replace param with (alias Args) - Avoid automatic var in PsPing - Fix comparison order - Remove unused var - Repair GPU submenu strings causing parse error
* Update SystemTester.bat * Update SystemTester.ps1 * Update SystemTester.bat * Update README.md * Update README.md * Update README.md * Update SystemTester.bat * Update SystemTester.ps1 * Update README.md * Create .gitkeep * Create CODE_OF_CONDUCT.md * Create CONTRIBUTING.md * Create PULL_REQUEST_TEMPLATE.md * Update CONTRIBUTING.md * Create bug_report.md * Create config.yml * Create deployment_issue.md * Create feature_request.md * Create implementation-question.md * Create COMPATABILITY.md * Create INSTALLATION.md * Create TROUBLESHOOTING.md * Update CONTRIBUTING.md * Update CONTRIBUTING.md * Delete CONTRIBUTING.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Handle both script names in batch launcher (#3) * Add network speed and update visibility to reports (#4) * Improve GPU detection and batch reliability (#5) * Handle tool verification exit statuses (#6) * Update README.md * Fix host:port string interpolation in latency test (#7) * refactor: use approved verbs and fix analyzer issues - Clean-ToolOutput -> Convert-ToolOutput (+call site) - Run-Tool -> Invoke-Tool (+call sites) - Generate-Report -> New-Report (+call sites) - Replace param with (alias Args) - Avoid automatic var in PsPing - Fix comparison order - Remove unused var - Repair GPU submenu strings causing parse error
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| function Test-NetworkSpeed { | ||
| Write-Host "`n=== Network Speed Test ===" -ForegroundColor Green | ||
|
|
||
| $outputLines = @() | ||
| $status = "SUCCESS" | ||
| $durationMs = 0 | ||
|
|
||
| # Gather link speed information for active adapters | ||
| try { | ||
| $adapters = Get-NetAdapter -ErrorAction Stop | Where-Object { $_.Status -eq "Up" } | ||
| if ($adapters) { | ||
| $outputLines += "Active Link Speeds:" | ||
| foreach ($adapter in $adapters) { | ||
| $outputLines += " $($adapter.Name): $($adapter.LinkSpeed)" | ||
| } | ||
| } else { | ||
| $outputLines += "Active Link Speeds: No active adapters detected" | ||
| } | ||
| } catch { | ||
| $status = "FAILED" | ||
| $outputLines += "Active Link Speeds: Unable to query adapters ($($_.Exception.Message))" | ||
| } | ||
|
|
||
| # Perform an outbound download test to estimate internet throughput | ||
| $tempFile = $null | ||
| try { | ||
| $testUrl = "https://speed.hetzner.de/10MB.bin" | ||
| $tempFile = [System.IO.Path]::GetTempFileName() | ||
| Write-Host "Running internet download test (~10MB)..." -ForegroundColor Yellow | ||
| $stopwatch = [System.Diagnostics.Stopwatch]::StartNew() | ||
| Invoke-WebRequest -Uri $testUrl -OutFile $tempFile -UseBasicParsing -TimeoutSec 120 | Out-Null | ||
| $stopwatch.Stop() |
There was a problem hiding this comment.
Prevent network speed test failure on PowerShell 7
The new Test-NetworkSpeed uses Invoke-WebRequest -UseBasicParsing to download a test file. -UseBasicParsing was removed in PowerShell 7, which is the recommended runtime in the docs. When the script is run under PS 7, this call throws ParameterBindingException before any download happens and the whole speed test always reports failure. Consider removing the parameter or guarding it by PowerShell version so the test works on PS 7 as well as PS 5.1.
Useful? React with 👍 / 👎.
* Update SystemTester.bat * Update SystemTester.ps1 * Update SystemTester.bat * Update README.md * Update README.md * Update README.md * Update SystemTester.bat * Update SystemTester.ps1 * Update README.md * Create .gitkeep * Create CODE_OF_CONDUCT.md * Create CONTRIBUTING.md * Create PULL_REQUEST_TEMPLATE.md * Update CONTRIBUTING.md * Create bug_report.md * Create config.yml * Create deployment_issue.md * Create feature_request.md * Create implementation-question.md * Create COMPATABILITY.md * Create INSTALLATION.md * Create TROUBLESHOOTING.md * Update CONTRIBUTING.md * Update CONTRIBUTING.md * Delete CONTRIBUTING.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Handle both script names in batch launcher (#3) * Add network speed and update visibility to reports (#4) * Improve GPU detection and batch reliability (#5) * Handle tool verification exit statuses (#6) * Update README.md * Fix host:port string interpolation in latency test (#7) * refactor: use approved verbs and fix analyzer issues - Clean-ToolOutput -> Convert-ToolOutput (+call site) - Run-Tool -> Invoke-Tool (+call sites) - Generate-Report -> New-Report (+call sites) - Replace param with (alias Args) - Avoid automatic var in PsPing - Fix comparison order - Remove unused var - Repair GPU submenu strings causing parse error
* Update SystemTester.bat * Update SystemTester.ps1 * Update SystemTester.bat * Update README.md * Update README.md * Update README.md * Update SystemTester.bat * Update SystemTester.ps1 * Update README.md * Create .gitkeep * Create CODE_OF_CONDUCT.md * Create CONTRIBUTING.md * Create PULL_REQUEST_TEMPLATE.md * Update CONTRIBUTING.md * Create bug_report.md * Create config.yml * Create deployment_issue.md * Create feature_request.md * Create implementation-question.md * Create COMPATABILITY.md * Create INSTALLATION.md * Create TROUBLESHOOTING.md * Update CONTRIBUTING.md * Update CONTRIBUTING.md * Delete CONTRIBUTING.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Handle both script names in batch launcher (#3) * Add network speed and update visibility to reports (#4) * Improve GPU detection and batch reliability (#5) * Handle tool verification exit statuses (#6) * Update README.md * Fix host:port string interpolation in latency test (#7) * refactor: use approved verbs and fix analyzer issues - Clean-ToolOutput -> Convert-ToolOutput (+call site) - Run-Tool -> Invoke-Tool (+call sites) - Generate-Report -> New-Report (+call sites) - Replace param with (alias Args) - Avoid automatic var in PsPing - Fix comparison order - Remove unused var - Repair GPU submenu strings causing parse error
* VS AI Update (#8) * Update SystemTester.bat * Update SystemTester.ps1 * Update SystemTester.bat * Update README.md * Update README.md * Update README.md * Update SystemTester.bat * Update SystemTester.ps1 * Update README.md * Create .gitkeep * Create CODE_OF_CONDUCT.md * Create CONTRIBUTING.md * Create PULL_REQUEST_TEMPLATE.md * Update CONTRIBUTING.md * Create bug_report.md * Create config.yml * Create deployment_issue.md * Create feature_request.md * Create implementation-question.md * Create COMPATABILITY.md * Create INSTALLATION.md * Create TROUBLESHOOTING.md * Update CONTRIBUTING.md * Update CONTRIBUTING.md * Delete CONTRIBUTING.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Handle both script names in batch launcher (#3) * Add network speed and update visibility to reports (#4) * Improve GPU detection and batch reliability (#5) * Handle tool verification exit statuses (#6) * Update README.md * Fix host:port string interpolation in latency test (#7) * refactor: use approved verbs and fix analyzer issues - Clean-ToolOutput -> Convert-ToolOutput (+call site) - Run-Tool -> Invoke-Tool (+call sites) - Generate-Report -> New-Report (+call sites) - Replace param with (alias Args) - Avoid automatic var in PsPing - Fix comparison order - Remove unused var - Repair GPU submenu strings causing parse error * fix: address VS warnings - Rename Run-Tool -> Invoke-Tool - Replace use of with - Use Convert-ToolOutput in tool runner - Keep -Args support via [Alias('Args')]
* VS AI Update (#8) * Update SystemTester.bat * Update SystemTester.ps1 * Update SystemTester.bat * Update README.md * Update README.md * Update README.md * Update SystemTester.bat * Update SystemTester.ps1 * Update README.md * Create .gitkeep * Create CODE_OF_CONDUCT.md * Create CONTRIBUTING.md * Create PULL_REQUEST_TEMPLATE.md * Update CONTRIBUTING.md * Create bug_report.md * Create config.yml * Create deployment_issue.md * Create feature_request.md * Create implementation-question.md * Create COMPATABILITY.md * Create INSTALLATION.md * Create TROUBLESHOOTING.md * Update CONTRIBUTING.md * Update CONTRIBUTING.md * Delete CONTRIBUTING.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Handle both script names in batch launcher (#3) * Add network speed and update visibility to reports (#4) * Improve GPU detection and batch reliability (#5) * Handle tool verification exit statuses (#6) * Update README.md * Fix host:port string interpolation in latency test (#7) * refactor: use approved verbs and fix analyzer issues - Clean-ToolOutput -> Convert-ToolOutput (+call site) - Run-Tool -> Invoke-Tool (+call sites) - Generate-Report -> New-Report (+call sites) - Replace param with (alias Args) - Avoid automatic var in PsPing - Fix comparison order - Remove unused var - Repair GPU submenu strings causing parse error * fix: address VS warnings - Rename Run-Tool -> Invoke-Tool - Replace use of with - Use Convert-ToolOutput in tool runner - Keep -Args support via [Alias('Args')]
Summary
Explain what this PR changes and why.
Type of change
Checklist
Screenshots / Demos
If applicable.
Breaking changes
Describe any breaking changes and migration steps.