小编Bow*_*ark的帖子

Powershell - PCI/PCIe 插槽占用

鉴于以管理员身份运行 Windows Powershell 5.0 的 Windows 10 系统,我需要列出所有主板插槽和占用它们的设备名称(如果有)。

Win32_SystemSlot,与

Get-WmiObject -class "Win32_SystemSlot"
Run Code Online (Sandbox Code Playgroud)

似乎用奇怪的数字枚举插槽,而不是设备。

Win32_PnPEntity枚举设备,而不是插槽。

我想获得类似的东西

Slot            Device
---
PCIEX16_1       NVidia GeForce GTX 680...
PCIEX1_1        Empty
Run Code Online (Sandbox Code Playgroud)

是否可以?如果是,如何?

motherboard pci-express powershell windows-10

7
推荐指数
1
解决办法
2万
查看次数

标签 统计

motherboard ×1

pci-express ×1

powershell ×1

windows-10 ×1