Json-Cleanup-Expansion (#4090)

* initial cleanup

* remove winutilgpu
This commit is contained in:
Chris Titus
2026-02-22 17:19:04 -06:00
committed by GitHub
parent 5eec99df1c
commit e93753e5c9
14 changed files with 95 additions and 130 deletions

View File

@@ -1,23 +0,0 @@
function Invoke-WinUtilGPU {
$gpuInfo = Get-CimInstance Win32_VideoController
# GPUs to blacklist from using Demanding Theming
$lowPowerGPUs = (
"*NVIDIA GeForce*M*",
"*NVIDIA GeForce*Laptop*",
"*NVIDIA GeForce*GT*",
"*AMD Radeon(TM)*",
"*Intel(R) HD Graphics*",
"*UHD*"
)
foreach ($gpu in $gpuInfo) {
foreach ($gpuPattern in $lowPowerGPUs) {
if ($gpu.Name -like $gpuPattern) {
return $false
}
}
}
return $true
}