mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-28 08:51:31 -06:00
parent
81c0387c14
commit
631dd8714a
@ -1673,7 +1673,7 @@ function Invoke-WinUtilFeatureInstall {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
function Invoke-GPUCheck {
|
function Invoke-GPUCheck {
|
||||||
$gpuInfo = Get-WmiObject Win32_VideoController
|
$gpuInfo = Get-CimInstance -ClassName Win32_OperatingSystem
|
||||||
|
|
||||||
foreach ($gpu in $gpuInfo) {
|
foreach ($gpu in $gpuInfo) {
|
||||||
$gpuName = $gpu.Name
|
$gpuName = $gpu.Name
|
||||||
|
Loading…
Reference in New Issue
Block a user