mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-27 16:31:30 -06:00
Update Invoke-WinUtilGPU.ps1 (#1753)
- This should be a proper fix to Invoke-WinUtilGPU.ps1. Tested in Win10 and Win11.
This commit is contained in:
parent
4ef4dbf8c1
commit
23ded22b36
@ -1,5 +1,5 @@
|
||||
function Invoke-GPUCheck {
|
||||
$gpuInfo = Get-WmiObject Win32_VideoController
|
||||
$gpuInfo = Get-CimInstance Win32_VideoController
|
||||
|
||||
foreach ($gpu in $gpuInfo) {
|
||||
$gpuName = $gpu.Name
|
||||
|
Loading…
Reference in New Issue
Block a user