Inventory of video card over 4 gb

Brass Contributor

Hi, all i have an issue with WMI SCCM inventory. My inventory is base on WMI query on win32_VideoController to have AdapterRAM. But for video card over then 4 gb I can’t see more then4 gb (max of wmi interger).

Exemple : wmic path win32_VideoController get name, AdapterRAM
AdapterRAM - Name
4293918720 - NVIDIA GeForce GTX 1060 6GB

I saw the pack nvwmi. that can probably help me but when I try to install it on a pc to make a test I received: NVDIAI WMI cannot be installed on this PC.

Any one has a way to have real inventory of video card over 4 gb ram on it?

1 Reply

@Stephane Lalancette 

 

If that can help someone, I was able to work around this problem with dxdiag.exe which gives the correct information about the video memory. I made a capture of dxdag result to create a new wmi class with the returned value.

 

dxdiag /x dxoutput.xml 
[xml]$dxdiag = get-content "dxoutput.xml"