Hi Prajwal, I hope so, but I did not see any SERIAL NUMBER option in the list. That's my concern because in the past we can get using MOF with powershell or something like that to get it.
![](/uploads/1/2/6/3/126345726/112355186.jpg)
-->
The WmiMonitorID WMI class represents the identifying information about a video monitor, such as manufacturer name, year of manufacture, or serial number. The data in this class correspond to data in the Vendor/Product Identification block of Video Input Definition of the Video Electronics Standard Association (VESA) Enhanced Extended Display Identification Data (E-EDID) standard.
Syntax
Members
The WmiMonitorID class has these types of members:
Properties
The WmiMonitorID class has these properties.
Active
Data type: boolean
Access type: Read-only
Indicates the active monitor.
InstanceName
Data type: string
Access type: Read-only
Qualifiers: Key
Name of the specific monitor instance.
ManufacturerName
Data type: uint16 array
Access type: Read-only
Name of manufacturer.
ManufacturerNameLength
Data type: uint16
Access type: Read-only
Length of manufacturer name located in the ManufacturerName property.
ProductCodeID
Data type: uint16 array
Access type: Read-only
Vendor assigned product code ID.
SerialNumberID
Data type: uint16 array
Access type: Read-only
Serial number.
UserFriendlyName
Data type: uint16
Access type: Read-only
The friendly name of the monitor. The size of the name is the length specified by the UserFriendlyNameLength property.
UserFriendlyNameLength
Data type: uint16
Access type: Read-only
Number of characters in the name located in the UserFriendlyName property.
WeekOfManufacture
Data type: uint8
Access type: Read-only
Week of manufacture by week number. The range is from 1 through 53. Zero (0) is undefined.
YearOfManufacture
Data type: uint16
Access type: Read-only
Year of manufacture.
Remarks
![How To Get Monitor Serial Number In Powershell How To Get Monitor Serial Number In Powershell](/uploads/1/2/6/3/126345726/322415527.jpg)
For a discussion on how to translate the arrays that store serial number ID's, see the Reporting Monitor information with Configuration Manager blog article.
Examples
The following PowerShell example retrieves the serial number of multiple monitors.
The following VBScript code also retrieves monitor ID information from a system.
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Namespace |
Rootwmi |
MOF |
|
DLL |
|
See also
Get Monitor InformationA Powershell Module/Script that gets the serial number, make and model of a monitor(s) attached to a computer via WMI Module vs ScriptI've included both a module and script version of this. This allows you to either run it quickly for one-off situations (script version) or install it (module version) into your PSModule path (see instructions below) for long-term use without relying on a having the script file's path. Module InstallationIf you choose to install the.psm1 module version of this, follow these instructions:.
Find your PSModule paths by running $env:PSModulePath.Split(';') in a Powershell prompt. Place a folder in any one of these paths named Monitor-Information (this can actually be anything). Place Monitor-Information.psm1 inside of this folder. If you have Powershell 3 or higher running the command (in this case Get-Monitor) will automatically import the module, otherwise you'll need to run Import-Module Monitor-Information and then run the command.Usage (Script)To use the script.
![](/uploads/1/2/6/3/126345726/112355186.jpg)