The wmic command can be used to interrogate the local WMI repository. The following queries return hardware related information. Check total RAM wmic MEMORYCHIP get BankLabel,DeviceLocator,Capacity,Tag Check computer model / service tag Wmic csproduct list /format Check CPU Wmic cpu get name There are many other parameters for this command listed here … https://ss64.com/nt/wmic.html
Read More