PowerShell 获取系统的硬件信息

  1.获取系统的BIOS的信息:  

Get-WMIObject -Class Win32_BIOS

  

  2.获取内存信息: 

  Get-WMIObject -Class Win32_PhysicalMemory

  

  3.查看CPU信息:  

Get-WMIObject -Class Win32_Processor

  

  4.查看硬盘信息:

Get-WMIObject -Class Win32_DiskDrive

  

原文地址:https://www.cnblogs.com/zychengzhiit1/p/4628981.html