Unsolved
2 Posts
0
4313
WMI query for monitor serial number? #2
Was this ever provided? Using the normal monitor query it does not add the country code. We have CN0, MX0, etc in our environment. If I can just find the country that they were made it I can just pre-pend the information, but I cannot seem to find that either.
$monitor = Get-WmiObject -Namespace "ROOT\WMI" -ComputerName $pc -Query "SELECT * FROM WmiMonitorID WHERE Active='True'" -ErrorAction SilentlyContinue
$serialnumber = [System.Text.Encoding]::ASCII.GetString($monitor.SerialNumberID -notmatch ‘^0$’)
PS C:\TEMP> $serialnumber
YKFWP5780DHL
DELL-Chris M
Community Manager
Community Manager
•
54.9K Posts
1
May 1st, 2019 06:00
No. We on the Forum do not use WMI. All I can tell you is CN = China and MX = Mexico. The "0" is just filler.
Example is below =
CN-097F8P-QDC00-77D-103L
CN = Country (China)
0 = Filler
97F8P = Dell part number
QDC00 = OEM factory ID
77D = Year/Month/Day
103L = OEM manufacturer code
jhwood26
2 Posts
0
May 1st, 2019 07:00
Chris is the Dell Part Number unique throughout? Or would there potentially be duplicates between Mexico and China?
Also on ours we have the following, can you tell be what the 1QAL is? It shows up on the query (FJYC773F1QAL), but seems out of order if it is part of the part number
CN0
FJYC7
64180
73f
1QAL
A03
DELL-Chris M
Community Manager
Community Manager
•
54.9K Posts
0
May 1st, 2019 08:00
Each region of the world could have different 5 digit part numbers. No idea why WMI is not pulling entire S/N.
FJYC773F1QAL
FJYC7 = Dell part number for model U2515H
73F = 2017/March/15
1QAL = OEM manufacturer code
CN-0FJYC7-64180-73F-1QAL
CN = Country (China)
0 = Filler
FJYC7 = = Dell part number for model U2515H
64180 = OEM factory ID
73F = 2017/March/15
103L = OEM manufacturer code