Fixed issue #1736 and #1749 (#1750)

This commit is contained in:
YusufKhalifadev 2024-03-28 22:43:26 +02:00 committed by GitHub
parent 81c0387c14
commit 631dd8714a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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