mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-29 01:11:30 -06:00
Compile Winutil
This commit is contained in:
parent
23ded22b36
commit
3bbafd327c
@ -1673,7 +1673,7 @@ function Invoke-WinUtilFeatureInstall {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
function Invoke-GPUCheck {
|
function Invoke-GPUCheck {
|
||||||
$gpuInfo = Get-WmiObject Win32_VideoController
|
$gpuInfo = Get-CimInstance Win32_VideoController
|
||||||
|
|
||||||
foreach ($gpu in $gpuInfo) {
|
foreach ($gpu in $gpuInfo) {
|
||||||
$gpuName = $gpu.Name
|
$gpuName = $gpu.Name
|
||||||
|
Loading…
Reference in New Issue
Block a user