My use case: For security purposes, to verify that a user is only running a single display.
To solve for this, I want to write a script that tests to see how many displays are connected to the computer. I can do this using a combination of Get-CimInstance
or Get-WmiObject
.
However, the problem I'm running into is that when I have a second display connected to the machine via a passive HDMI splitter, the OS only ever sees one display (the first one that powered on).
Is there any way to detect the second display or is this physically impossible?