PowerShell 获取系统的硬件信息

时间:2024-03-02 18:57:29

  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