Retrieve Graphics Adapter Info Using VBScript

I needed to upgrade the graphics driver on one model of our desktop PCs.  Below is an example script you can use to retrieve the display adapter description and driver version using VBScript.


Set objWMIService = GetObject(“winmgmts:\\.\root\cimv2”)

Set colItems = objWMIService.ExecQuery(“Select * from Win32_VideoController”)

For Each objItem in colItems

Wscript.Echo “Display Adapter Description: ” & objItem.Description

Wscript.Echo “Driver Version: ” & objItem.DriverVersion

Set colItems = Nothing

Set objWMIService = Nothing