Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List Current Display Configuration ValuesContent of List Current Display Configuration Values.vbsMD5 Hash: 8FD9AA16D31024BE372754282E14E64A |
||
' Description: Returns information about the current display settings on a computer.
On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery _ ("Select * from Win32_DisplayConfiguration") For Each objItem in colItems Wscript.Echo "Bits Per Pel: " & objItem.BitsPerPel Wscript.Echo "Device Name: " & objItem.DeviceName Wscript.Echo "Display Flags: " & objItem.DisplayFlags Wscript.Echo "Display Frequency: " & objItem.DisplayFrequency Wscript.Echo "Driver Version: " & objItem.DriverVersion Wscript.Echo "Log Pixels: " & objItem.LogPixels Wscript.Echo "Pels Height: " & objItem.PelsHeight Wscript.Echo "Pels Width: " & objItem.PelsWidth Wscript.Echo "Setting ID: " & objItem.SettingID Wscript.Echo "Specification Version: " & objItem.SpecificationVersion Wscript.Echo Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |