yucatan Posted April 27, 2008 Share Posted April 27, 2008 hi i'm trying to detect what video card in the system is where i run the script i'v already looked to the pc info script there are alot here in the forum but i cant figure it out can someone give me a hand? Link to comment Share on other sites More sharing options...
Info Posted April 27, 2008 Share Posted April 27, 2008 (edited) I need this too... I guess we will have to wait for a pro to come Edited April 27, 2008 by Info Link to comment Share on other sites More sharing options...
flip209 Posted April 27, 2008 Share Posted April 27, 2008 CODEstrComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2") Set colItems = objWMIService.ExecQuery( _ "SELECT * FROM Win32_DisplayConfiguration",,48) For Each objItem in colItems Wscript.Echo "-----------------------------------" Wscript.Echo "Win32_DisplayConfiguration instance" Wscript.Echo "-----------------------------------" Wscript.Echo "BitsPerPel: " & objItem.BitsPerPel Wscript.Echo "Caption: " & objItem.Caption Wscript.Echo "Description: " & objItem.Description Wscript.Echo "DeviceName: " & objItem.DeviceName Wscript.Echo "DisplayFlags: " & objItem.DisplayFlags Wscript.Echo "DisplayFrequency: " & objItem.DisplayFrequency Wscript.Echo "DitherType: " & objItem.DitherType Wscript.Echo "DriverVersion: " & objItem.DriverVersion Wscript.Echo "ICMIntent: " & objItem.ICMIntent Wscript.Echo "ICMMethod: " & objItem.ICMMethod Wscript.Echo "LogPixels: " & objItem.LogPixels Wscript.Echo "PelsHeight: " & objItem.PelsHeight Wscript.Echo "PelsWidth: " & objItem.PelsWidth Wscript.Echo "SettingID: " & objItem.SettingID Wscript.Echo "SpecificationVersion: " & objItem.SpecificationVersion Next VB script " I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now