From 683d0f242f4b81c70c1e8e63417aac0e8ccfadd1 Mon Sep 17 00:00:00 2001 From: "DESKTOP-PUHFO60\\dsx2016" Date: Tue, 27 Oct 2026 20:14:44 +0800 Subject: [PATCH] Ignore virtual/remote display adapters when picking GPU name. Co-authored-by: Cursor --- host/send_sysinfo.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/host/send_sysinfo.ps1 b/host/send_sysinfo.ps1 index 06e903f..1c98603 100644 --- a/host/send_sysinfo.ps1 +++ b/host/send_sysinfo.ps1 @@ -73,7 +73,10 @@ function Get-CpuPct { function Get-GpuName { $gpus = Get-CimInstance Win32_VideoController -ErrorAction SilentlyContinue | - Where-Object { $_.Name -and $_.Name -notmatch 'Microsoft Basic|Remote Desktop' } + Where-Object { + $_.Name -and + $_.Name -notmatch 'Microsoft Basic|Remote Desktop|Oray|IddDriver|Virtual|Parsec|TeamViewer|VNC|Indirect' + } if (-not $gpus) { return "GPU" } $pick = $gpus | Where-Object { $_.Name -match 'NVIDIA|GeForce|RTX|GTX|Radeon|AMD' } | Select-Object -First 1