Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

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?

0

Comments

1 comment
Date Votes
  • I forgot to post where the WMI information comes from. Root\WMI -> SELECT * FROM WmiMonitorBasicDisplayParams

    0