windows 10查看网卡流量网速命令

cmd:

typeperf -q "Network Interface"
typeperf -si 1 -sc 1 "\Network Interface(*)\Bytes Total/sec"

powershell:

((Ge3 [ w | U % .t-Counter  -Counter "\Network Interface(*)` 2 D } L ZByw m $ b C u O 2 Vtes total/sec" -SampleI_ q X i nterval 1 -MaxSamples 1 ).CounterSamples|%{$_.CookedValue}|sort|select -last 1) / 1KB