diff --git a/winutil.ps1 b/winutil.ps1 index 541775ae..c46d8ae5 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -1673,7 +1673,7 @@ function Invoke-WinUtilFeatureInstall { } } function Invoke-GPUCheck { - $gpuInfo = Get-WmiObject Win32_VideoController + $gpuInfo = Get-CimInstance -ClassName Win32_OperatingSystem foreach ($gpu in $gpuInfo) { $gpuName = $gpu.Name