2019-2-21-PowerShell-通过-WMI-获取设备厂商

title author date CreateTime categories
PowerShell 通过 WMI 获取设备厂商
lindexi
2019-2-21 20:2:45 +0800
2019-02-21 19:59:37 +0800
PowerShell WMI

本文告诉大家如何通过 WMI 使用Win32_ComputerSystem获取设备厂商

通过下面代码可以获取 机器型号 和 制造厂商

Get-WmiObject Win32_ComputerSystem | Format-List Description,Manufacturer,model,UserName

运行代码

Description  : AT/AT COMPATIBLE
Manufacturer : Gigabyte Technology Co., Ltd.
model        : To be filled by O.E.M.
UserName     : DESKTOP-KA1CD6Mlindexi

Win32_ComputerSystem class - Windows applications

原文地址:https://www.cnblogs.com/lindexi/p/12086067.html