Finding attached monitor sizes attached to a computer
I have been able to find the relevant information about the monitors in WMI but to find the correct monitor size I am needing to work the Pythagorean theorem: (a squared) x (b squared) = (c squared). This is all fine and dandy except to get the actual value of "c" I am needing to get the square root. I have found that a WMI query doesn't have the Math capabilities to resolve this so moved to trying to create a SQL report using the SQRT function. It seems the SQL capabilities in PDQ Inventory SQL reports is still a bit limited missing some of these key functions. Any suggestions on a better way to find this information?
Comments
I forgot to post where the WMI information comes from. Root\WMI -> SELECT * FROM WmiMonitorBasicDisplayParams