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
标签:Win32,WMIObject,Get,信息,Class,硬件,获取,BIOS,Powershell 来源: https://www.cnblogs.com/heiyizixia/p/10790700.html