Back in 2017 i needed to know the total video memory available for a monitoring skin.
Proved to be impossible with a wmic command becasue the Windows utilities have not been updated to 64-bit so can't show more than 4GB.
But i have recently learned that there's a Registry key that contains the value called HardwareInformation.qwMemorySize.
Inside the key there's other goodies too like GPU name and such.
Nice find! What make of video card are you using? Wondering if there is a difference between AMD and nVidia. I'm using an nVidia GPU and my registry matches yours exactly.