Skip to content

Instantly share code, notes, and snippets.

@phit
Created September 28, 2020 14:48
Show Gist options
  • Save phit/71549439133f4ba38687405f3dba67fd to your computer and use it in GitHub Desktop.
Save phit/71549439133f4ba38687405f3dba67fd to your computer and use it in GitHub Desktop.
PS C:\WINDOWS\system32> Get-WmiObject -Query "Select * FROM WMIMonitorID" -Namespace root\wmi
__GENUS : 2
__CLASS : WmiMonitorID
__SUPERCLASS : MSMonitorClass
__DYNASTY : MSMonitorClass
__RELPATH : WmiMonitorID.InstanceName="DISPLAY\\SAM07A7\\4&4991422&0&UID200195_0"
__PROPERTY_COUNT : 9
__DERIVATION : {MSMonitorClass}
__SERVER : REDACTED
__NAMESPACE : root\wmi
__PATH : \\REDACTED\root\wmi:WmiMonitorID.InstanceName="DISPLAY\\SAM07A7\\4&4991422&0&UID200195_
0"
Active : True
InstanceName : DISPLAY\SAM07A7\4&4991422&0&UID200195_0
ManufacturerName : {83, 65, 77, 0...}
ProductCodeID : {48, 55, 65, 55...}
SerialNumberID : {48, 0, 0, 0...}
UserFriendlyName : {83, 77, 84, 50...}
UserFriendlyNameLength : 13
WeekOfManufacture : 48
YearOfManufacture : 2010
PSComputerName : REDACTED
__GENUS : 2
__CLASS : WmiMonitorID
__SUPERCLASS : MSMonitorClass
__DYNASTY : MSMonitorClass
__RELPATH : WmiMonitorID.InstanceName="DISPLAY\\DELA0A3\\4&4991422&0&UID208387_0"
__PROPERTY_COUNT : 9
__DERIVATION : {MSMonitorClass}
__SERVER : REDACTED
__NAMESPACE : root\wmi
__PATH : \\REDACTED\root\wmi:WmiMonitorID.InstanceName="DISPLAY\\DELA0A3\\4&4991422&0&UID208387_
0"
Active : True
InstanceName : DISPLAY\DELA0A3\4&4991422&0&UID208387_0
ManufacturerName : {68, 69, 76, 0...}
ProductCodeID : {65, 48, 65, 51...}
SerialNumberID : {57, 84, 71, 52...}
UserFriendlyName : {68, 69, 76, 76...}
UserFriendlyNameLength : 13
WeekOfManufacture : 18
YearOfManufacture : 2014
PSComputerName : REDACTED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment