Windows PowershellサポートTOPへ

Windows Powershellによるデバイスバスの関連付けの情報を取得する方法を紹介

コンピュータに接続されているモニターの情報を取得(関連するバス、バス)。全てのプロパティについて取得したい場合は、Format-List * で可能。

サンプルソース



(入力)

Get-WmiObject Win32_DeviceBus | Format-List Antecedent,Dependent


(出力)

Antecedent : \\HOSTNAME\root\cimv2:Win32_Bus.DeviceID="PCI_BUS_0"
Dependent : \\HOSTNAME\root\cimv2:Win32_PnPEntity.DeviceID="PCI\\VEN_8086&DEV_1E20&SUBSYS_00011179&REV_04\\3&11583659&0&D8"

Antecedent : \\HOSTNAME\root\cimv2:Win32_Bus.DeviceID="PNP_BUS_0"
Dependent : \\HOSTNAME\root\cimv2:Win32_PnPEntity.DeviceID="HID\\RCA_VKD&COL01\\1&2D595CA7&0&0000"
・・・・・・・・・・・(省略)・・・



  

戻る




Copyright (C) Windows Powershellサポート by wannko All Rights Reserved.
お問合せ先 ⇒ nachiko★wannko.net(★を@に変更して下さい。)