A question on the forum about getting monitor resolution led to this code
Get-CimInstance -Namespace rootwmi -ClassName WmiMonitorId |
foreach {
$filter = ("InstanceName = '$($psitem.InstanceName)'").Replace("`", "“")
$maxres… Read the full text.