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

  

posted @ 2019-04-29 15:36  一颗棋子  阅读(770)  评论(0编辑  收藏  举报