How to get computer make and model, RAM, HD information via CLI

Open a Command Prompt with Administrator privileges and type one of the commands in bold below:

wmic computersystem get model,name,manufacturer,systemtype

Output: 

Manufacturer  Model                 Name      SystemType

Dell Inc.     Latitude 7390 2-in-1  HOUPC401  x64-based PC

wmic MEMORYCHIP get BankLabel, DeviceLocator, Capacity

Output:

BankLabel  Capacity    DeviceLocator

BANK 0     8589934592  System Board Memory

BANK 1     8589934592  System Board Memory

wmic logicaldisk get size,freespace,caption

Output:

Caption  FreeSpace     Size

C:       176635428864  254055673856

S:       105710261248  107374182400

wmic path win32_VideoController get name

Output:

Name

Intel(R) UHD Graphics 620

wmic path win32_videocontroller get caption, CurrentHorizontalResolution, CurrentVerticalResolution

Output:

Caption                    CurrentHorizontalResolution  CurrentVerticalResolution

Intel(R) UHD Graphics 620  1920                         1200