I wanted to be able to obtain information on a monitor attached to a
Windows 10 desktop system, including the manufacturer,
model number, serial number, and date of manufacture, from a
command-line
interface (CLI). One way to do that is by using
PowerShell, which
Microsoft provides as part of its Windows operating system. You can open
a PowerShell window on a Microsoft Windows 10 system by typing
PowerShell
in the "Type here to search" field at the bottom
of the Windows display. You should see the Windows PowerShell app listed as
an option you can click on to open a PowerShell window. If you type
gwmi WmiMonitorID -Namespace root\wmi
at the prompt and hit
enter, you will see information similar to the following output displayed.
PS C:\> gwmi WmiMonitorID -Namespace root\wmi __GENUS : 2 __CLASS : WmiMonitorID __SUPERCLASS : MSMonitorClass __DYNASTY : MSMonitorClass __RELPATH : WmiMonitorID.InstanceName="DISPLAY\\HPN360C\\5&2c03a83e&0&UID262_0" __PROPERTY_COUNT : 9 __DERIVATION : {MSMonitorClass} __SERVER : YTTERBIUM __NAMESPACE : root\wmi __PATH : \\YTTERBIUM\root\wmi:WmiMonitorID.InstanceName="DISPLAY\\HPN360C\\5&2c03a83e&0&UID262_0" Active : True InstanceName : DISPLAY\HPN360C\5&2c03a83e&0&UID262_0 ManufacturerName : {72, 80, 78, 0...} ProductCodeID : {51, 54, 48, 67...} SerialNumberID : {67, 78, 75, 48...} UserFriendlyName : {72, 80, 32, 51...} UserFriendlyNameLength : 13 WeekOfManufacture : 12 YearOfManufacture : 2020 PSComputerName : YTTERBIUM PS C:\>
[More Info ]