mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-01 10:32:35 -05: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:
@ -1,5 +1,5 @@
|
||||
function Invoke-GPUCheck {
|
||||
$gpuInfo = Get-WmiObject Win32_VideoController
|
||||
$gpuInfo = Get-CimInstance Win32_VideoController
|
||||
|
||||
foreach ($gpu in $gpuInfo) {
|
||||
$gpuName = $gpu.Name
|
||||
|
Reference in New Issue
Block a user