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
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