tri_94 Posted July 7, 2020 Posted July 7, 2020 Hi there I'm after a way to get Monitor serials to add to a current powershell script. I would use Get-WmiObject Win32_MonitorDetails as that worked great for my test pc however the pc's I need to use it on don't have that i get invalid class and for WMIMonitorID I get not supported. Thanks
Guest Guest Posted July 7, 2020 Posted July 7, 2020 I had a powershell script for this, however I found it to be very unreliable. In the end I ended up collecting SNs manually
tri_94 Posted July 7, 2020 Author Posted July 7, 2020 Which method did you use? I'd only be using for cross reference purposes
6Foot2 Posted July 7, 2020 Posted July 7, 2020 Will this help? Link: VBS Script – Get Monitor Serial Number Remotely Last updated: Monday, 21st December 2015.
tri_94 Posted July 8, 2020 Author Posted July 8, 2020 Thanks for that I've tried that one and it doesn't seem to work for me.
robk Posted July 8, 2020 Posted July 8, 2020 Just checking, you don't have impero installed do you? If so this creates a driver that blocks the serial no in wmi.
chazzy2501 Posted July 8, 2020 Posted July 8, 2020 This doesn't help in anyway but I was surprised that my ESET AV could tell me the monitors that were connected to the computers and their serial numbers. Most of my PCs still use a VGA cable as its more durable, I wasn't aware how much a monitor could talk to a PC through VGA.
tri_94 Posted July 8, 2020 Author Posted July 8, 2020 This doesn't help in anyway but I was surprised that my ESET AV could tell me the monitors that were connected to the computers and their serial numbers. Most of my PCs still use a VGA cable as its more durable, I wasn't aware how much a monitor could talk to a PC through VGA. Depending which version of Framework/Powershell your running if you use the following two powershell commands (Get-WmiObject Win32_MonitorDetails -ComputerName $env:COMPUTERNAME | Select-Object -Property Model).Model -join ", " (Get-WmiObject Win32_MonitorDetails -ComputerName $env:COMPUTERNAME| Select-Object -Property SerialNumber).SerialNumber -join ", " You will be able to get Make, Model and Serial Number's Thanks
johnathanadams Posted July 8, 2020 Posted July 8, 2020 DE-15 VGA connectors use pin 12 as an i2c bus, pin 15 for the clock, and pin 9 for 5V power so you can read the chip in the monitor when it's powered off, so check those pins on your cables too.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now