I have a program which I run on hundreds of different computers a day, this is sort of like an inventory program. One of the details I'm trying to fetch is the amount of VRAM available to the graphics card.
I'm currently using WMIC to do this, specifically the
win32_VideoController path, and the
AdapterRAM value. This works great on any computer which has less than 4GB of VRAM (Which most do, but not all)
Recently we got some computers with 1060 & 1080 graphics cards, these have more than 4GB VRAM.
Win32_VideoController returns the AdapterRAM value as a data type:
uint32, which basically means that it is unable to return anything over 4GB.
I've been looking around online trying to find another way to get the VRAM for the GPU (I have to be able to do it with a command), but can only find people using
Win32_VideoController in really old questions/answers.
How can I get the correct amount of VRAM from a computer via command line? I can use a 3rd party program if it is small enough if I have to.