Created
June 18, 2012 13:55
-
-
Save tkmtmkt/2948484 to your computer and use it in GitHub Desktop.
ディスプレイモニタの情報を取得/表示する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gwmi -Namespace root\wmi WmiMonitorID | %{ | |
New-Object PSObject -Property @{ | |
ManufacturerName = -join ($_.ManufacturerName | %{[char]$_}) | |
ProductCodeID = -join ($_.ProductCodeID | %{[char]$_}) | |
SerialNumberID = -join ($_.SerialNumberID | %{[char]$_}) | |
UserFriendlyName = -join ($_.UserFriendlyName | %{[char]$_}) | |
WeekOfManufacture = $_.WeekOfManufacture | |
YearOfManufacture = $_.YearOfManufacture | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment