Jump to content

Recommended Posts

Posted

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
I had a powershell script for this, however I found it to be very unreliable. In the end I ended up collecting SNs manually
Guest Guest
Posted
I don't have a copy of the script
Posted

Just checking, you don't have impero installed do you?

 

If so this creates a driver that blocks the serial no in wmi.

Posted
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.
Posted
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

Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...