I have the following code that sucessfully grabs monitor resolutions... I can't find anywhere on the interwebs that shows how to filter this WMI query to only the primary display.
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * From Win32_DesktopMonitor")
For Each objItem in colItems
Would anybody happen to know of any references that could assist here? Thanks.