Batch hardware
From wikinotes
wmic
wmic cpu wmic memcache get access
typeperf
# overall cpu usage typeperf "\Processor(_Total)\% Processor Time" # individual cpu usage typeperf "\Processor{*)\% Processor Time" # ram typeperf "\memory\available bytes" typeperf "\memory\committed bytes"
systeminfo
systeminfo systeminfo | find "Total Physical Memory"