程序点滴jcodeer.blog.chinaunix.net
jcodeer
全部博文(171)
2012年(2)
2011年(70)
2010年(9)
2009年(14)
2008年(76)
Bean_lee
GY123456
armlife
linky521
g_progra
猥琐才是
athzhang
CU博客助
meiyang_
heq76
gaokeke1
yangyefe
yanganni
tomcodin
qhy95020
allaxin
suntao32
13661379
分类:
2008-05-24 22:23:11
'1.显示显卡信息 On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_VideoController") For Each objItem in colItems Wscript.Echo "Name:" & objItem.Name Wscript.Echo "DeviceID: " & objItem.DeviceID Wscript.Echo "Caption: " & objItem.Caption Wscript.Echo "CreationClassName; " & objItem.CreationClassName Wscript.Echo "AdapterRAM: " & objItem.AdapterRAM Wscript.Echo "CurrentBitsPerPixel: " & objItem.CurrentBitsPerPixel Wscript.Echo "CurrentHorizontalResolution;: " & objItem.CurrentHorizontalResolution Wscript.Echo "CurrentNumberOfColors: " & objItem.CurrentNumberOfColors Wscript.Echo "CurrentNumberOfColumns: " & objItem.CurrentNumberOfColumns Wscript.Echo "CurrentNumberOfRows: " & objItem.CurrentNumberOfRows Wscript.Echo "CurrentRefreshRate: " & objItem.CurrentRefreshRate Wscript.Echo "CurrentScanMode: " & objItem.CurrentScanMode Wscript.Echo "CurrentVerticalResolution: " & objItem.CurrentVerticalResolution Wscript.Echo "DriverDate: " & objItem.DriverDate Wscript.Echo "DriverVersion: " & objItem.DriverVersion Wscript.Echo "NumberOfColorPlanes: " & objItem.NumberOfColorPlanes Wscript.Echo "NumberOfVideoPages: " & objItem.NumberOfVideoPages Wscript.Echo "VideoArchitecture: " & objItem.VideoArchitecture Wscript.Echo "VideoModeDescription: " & objItem.VideoModeDescription Wscript.Echo Next Wscript.StdIn.Read(1)
上一篇:获取USB设备信息
下一篇:获取并口信息
登录 注册