Obtaining monitor information from a PowerShell Prompt

If you need to know information about the manufacturer and model number of a monitor on a Microsoft Windows system, you may be able to obtain it from a PowerShell prompt using the Get-WmiObject cmdlet as shown below:

Learning Windows PowerShell
Learning Windows PowerShell
1x1 px

PS C:\> Get-WmiObject win32_desktopmonitor


DeviceID            : DesktopMonitor1
DisplayType         :
MonitorManufacturer : HP
Name                : HP S2031 Series Wide LCD Monitor
ScreenHeight        :
ScreenWidth         :



PS C:\>

The computer is a Dell Inspiron 620s system, as I can determine using Get-WmiObject Win32_ComputerSystem.

PS C:\> Get-WmiObject Win32_ComputerSystem


Domain              : mayberry.lan
Manufacturer        : Dell Inc.
Model               : Inspiron 620s
Name                : UNION
PrimaryOwnerName    : Jane
TotalPhysicalMemory : 6350831616



PS C:\>

In the example above, which was run a Microsoft Windows 10 system, I can see the manufacturer is Hewlett-Packard (HP) and the model is S2031. The amount of information you will see can vary. E.g., in the above case I don't see the screen height and width displayed. But on another Dell system, an Inspiron 570 running Windows 10, I do see that information in the output.

PS C:\> Get-WmiObject win32_desktopmonitor


DeviceID            : DesktopMonitor1
DisplayType         :
MonitorManufacturer : Dell Inc.
Name                : Dell SR2320L_Analog
ScreenHeight        : 768
ScreenWidth         : 1360



PS C:\> Get-WmiObject win32_computersystem


Domain              : mayberry.lan
Manufacturer        : Dell Inc.
Model               : Inspiron 570
Name                : THELMA
PrimaryOwnerName    : Jeanne
TotalPhysicalMemory : 2951712768



PS C:\>

For some monitors you may only see something like "Generic PnP Monitor", however.

PS C:\> Get-WmiObject win32_desktopmonitor


DeviceID            : DesktopMonitor1
DisplayType         :
MonitorManufacturer : (Standard monitor types)
Name                : Generic PnP Monitor
ScreenHeight        :
ScreenWidth         :



PS C:\> Get-WmiObject win32_computersystem


Domain              : Midland.local
Manufacturer        : Gigabyte Technology Co., Ltd.
Model               : GA-78LMT-S2P
Name                : ANAHEIM
PrimaryOwnerName    : GIGABYTE
TotalPhysicalMemory : 8050495488



PS C:\>

In the above case, the system is a custom-built system with a Gigabyte Technology motherboard. Looking at the front of the monitor I can see it is a LG Flatiron TFT LCD Monitor. And the model number, L1930B, is at the top of the monitor, but the information isn't available using Get-WmiObject win32_computersystem.