We can get hardware and software information on a computer from windows command line using wmic command. See the syntax and few examples below.
Ex 1: Get the number of processors
wmic computersystem get NumberOfProcessors
Ex 2: Get the RAM size on the computer
wmic computersystem get TotalPhysicalMemory
Ex 3: Check if Day light savings is enabled
wmic computersystem get EnableDaylightSavingsTime