Command to get monitor model number and serial number

Pavan 20 Reputation points
2024-02-06T00:41:39.5633333+00:00

simple Command to get monitor model number and serial number just like below User's image

Windows for business | Windows Server | User experience | PowerShell
{count} votes

Accepted answer
  1. Anonymous
    2024-02-06T04:47:11.31+00:00

    Hi Pavan

    You can get the monitor model from the UserFriendlyName property.

    Get-WmiObject WmiMonitorID -Namespace root\wmi |
    Select-Object @{l="Manufacturer";e={[System.Text.Encoding]::ASCII.GetString($_.ManufacturerName)}},
    @{l="Model";e={[System.Text.Encoding]::ASCII.GetString($_.UserFriendlyName)}},
    @{l="SerialNumber";e={[System.Text.Encoding]::ASCII.GetString($_.SerialNumberID)}}
    

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    4 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Hudson McNamara 51 Reputation points
    2025-08-18T06:42:31.8566667+00:00

    My 2 cents, which is far more human friendly than the accepted answer imo

    function Get-Normalized { # Filters out padding from EDID codes
        param( [int[]]$In )
        return ( $In | Where-Object { $_ -ne 0 } | ForEach-Object { [char]$_ } ) -join ""
    }
    
    Get-CimInstance -Namespace root\wmi -ClassName WmiMonitorID | ForEach-Object {
        [PSCustomObject]@{
            Manufacturer = Get-Normalized $_.ManufacturerName
            Model        = Get-Normalized $_.UserFriendlyName
            ProductCode  = Get-Normalized $_.ProductCodeID
            Serial       = Get-Normalized $_.SerialNumberID
            Active       = $_.Active
        }
    }
    

    https://gist.github.com/hudsonm62/67983b7ec49dfa2d97b61104ec370722


    If you need more information (resolution, etc.), try the following article (just replace Get-WmiObject with Get-CimInstance!) - https://devblogs.microsoft.com/scripting/use-powershell-to-discover-multi-monitor-information/

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.