diff --git a/Fix-EnableGPUScheduling.ps1 b/Fix-EnableGPUScheduling.ps1 index c96c73b..c729674 100644 --- a/Fix-EnableGPUScheduling.ps1 +++ b/Fix-EnableGPUScheduling.ps1 @@ -21,7 +21,7 @@ If ( $HardwareGPUSchedulingEnabled -eq $false ) { $GPUs = (Get-WmiObject Win32_VideoController).Name $FoundDiscreteGPU = $false ForEach ( $gpu in $GPUs ) { - If ( ($gpu -ilike "*NVIDIA*") -or ($gpu -ilike "*AMD*") ) { + If ( $gpu -ilike "*NVIDIA*" ) { $FoundDiscreteGPU = $true } }