Typeperf


 * https://technet.microsoft.com/en-us/library/bb490960.aspx

Examples
To display processor and memory counters, type: To display Explorer process counters every three seconds in a CSV-output file format, type: To display 50 samples of RAS counters on computer Server_name, type: To display counter values for 50 samples of the counters listed in the file input.txt, at sample intervals of 120 seconds, type: To query installed counters with instances, type the following command. Be aware that the -qx parameter will return a far greater number of performance counters than the -q parameter. To query physical disk counters without instances on computer Server5 and write them to a file called diskctrs.txt, type:
 * typeperf "\Memory\Available bytes" "\processor(_total)\% processor time"
 * typeperf "\Process(Explorer)\Thread Count" -si 3 -o typeperf.csv
 * typeperf "\RAS port(LPT1)\Bytes Transmitted" -sc 50 -s Server_name
 * typeperf -cf input.txt -si 120 -sc 50 -f TSV -o domain2.tsv
 * typeperf -qx
 * typeperf -q \\Server5\PhysicalDisk -o diskctrs.txt