Mostly made this for convenience, and also because examples on the internet either used the dated Get-WMIObject cmdlet, didn't output the results as a PowerShell object, or were lost due to being hosted on Microsoft TechNet. Hate that I'm basically reinventing a wheel, but it is what it is.
This module makes use of JoinModule, the source for which can be found here: https://github.com/iRon7/Join-Object
Queries and returns the monitor info from target computer EH-406B8-01
Get-WMIMonitorInfo -ComputerName EH-406B8-01-ComputerNameAccepts a string for a target computer to query. If this is not supplied, the command will run against the local computer instead.
- https://support.moonpoint.com/os/windows/PowerShell/monitor_mfg.php
- https://community.spiceworks.com/topic/321045-is-there-any-way-to-determine-the-monitor-size-attached-to-a-computer
- https://superuser.com/questions/749243/detect-if-powershell-is-running-as-administrator
- https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/d3dkmdt/ne-d3dkmdt-_d3dkmdt_video_output_technology