r-Techsupport / Get-Specs

Windows Specifications script for rTechsupport
GNU General Public License v3.0
6 stars 4 forks source link

Driver versions #68

Open gkhull opened 2 years ago

gkhull commented 2 years ago

I think under the hardware section, you should add a new column for the gpu and chipset driver versions https://i.imgur.com/KZ72MWI.png

PipeItToDevNull commented 2 years ago

Getting GPU driver seems to be relatively easy. How to find the CPU or motherboard reliably is still on the table

Currently all parts are pulled around line 564 and we call $cpu.Name or equivalent

I am pulling GPU driver with $(gwmi Win32_PnPSignedDriver | ? { $_.deviceName -eq $gpu.Name }).driverversion but this cannot be done easily for the CPU or Mobo as their names are not the same or represented reliably in any way I see

PipeItToDevNull commented 2 years ago

https://github.com/PipeItToDevNull/Get-Specs/commit/e701d2662ec42a043ca0b7d5dd10e929043a6b43

TheKrol commented 2 years ago

$(gwmi Win32_PnPSignedDriver | ? { $_.deviceName -like "Engine Interface" }).driverversion

This is what I found that would get my Intel Chipset

PipeItToDevNull commented 2 years ago

The issue with that @TheKrol is that you cannot derive "Engine Interface" from the CPU name, the GPU is reported by name.

If there was a universal or semi-universal naming scheme it would likely need to be hard coded and added manually as more names are seen.