小编nul*_*ter的帖子

什么是 Windows 中的 lshw 等价物,它可以像 lshw 在 Linux 上那样为我提供硬件树结构?

我需要如下所列的硬件信息,这些信息是在 linux 中使用 lshw 生成的。我需要一个没有 GUI 的 Windows 等价物,更喜欢代码或 dll,可用于提取同一树状结构中的信息。请注意 Wmi 不是一个合适的选项,因为它不会给我空插槽,而 lshw 会。


test-pc3
    description: Desktop Computer
    version: System Version
    width: 32 bits
    capabilities: smbios-2.5 dmi-2.5 smp-1.4 smp
    configuration: boot=normal chassis=desktop cpus=2 family=To Be Filled By O.E.M. sku=To Be Filled By O.E.M. uuid=C0EFA9AB-8DFE-D511-9075-BCAEC5B65DA4
  *-core
       description: Motherboard
       product: M4N68T-M-LE-V2
       vendor: ASUSTeK Computer INC.
       physical id: 0
       version: Rev X.0x
       serial: MT700CK35903797
       slot: To Be Filled By O.E.M.
     *-firmware
          description: BIOS
          vendor: American Megatrends Inc.
          physical id: 0
          version: 0402
          date: …
Run Code Online (Sandbox Code Playgroud)

windows hardware list pci

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

标签 统计

hardware ×1

list ×1

pci ×1

windows ×1