gsparx

Results 3 comments of gsparx

Yeah, it does. ``` PS C:\Users\garrett\Downloads> $ins_version = (Get-WmiObject Win32_PnPSignedDriver | where {$_.devicename -like "*nvidia*" -and $_.devicename -notlike "*audio*"}).DriverVersion.SubString(7) PS C:\Users\garrett\Downloads> $ins_version 3.8219 3.8219 ``` ``` PS C:\Users\garrett\Downloads> $ins_version =...

looks like it might be related to the fact that it's returning two results for DriverVersion I just tweaked it to be `DriverVersion[0]` and it looks like that command passed

Aha you've discovered the problem. ``` PS C:\Users\garrett\Downloads> (Get-WmiObject Win32_PnPSignedDriver | where {$_.devicename -like "*nvidia*" -and $_.devicename -notlike "*audio*"}) __GENUS : 2 __CLASS : Win32_PnPSignedDriver __SUPERCLASS : CIM_Service __DYNASTY :...