Get-netAdapterStatistics equivalent for earlier version of Windows

I came across this post, http://blogs.technet.com/b/heyscriptingguy/archive/2014/01/17/gathering-network-statistics.aspx and found that I can get network adapter statistics by running get-netadapterstatistics on power shell. However, that only works on Windows 8.1 and Windows server 2012. 

Is there any equivalent command for other versions of Windows?

Thank you!

August 21st, 2015 3:23pm

You can always use perfmon.
Free Windows Admin Tool Kit Click here and download it now
August 21st, 2015 5:16pm

Correct me if I am wrong, I think on perfmon, the performance counters are by seconds. What I can get by using get-netadapterstatictics is the accumulated statistics. 

August 24th, 2015 2:48pm

Correct me if I am wrong, I think on perfmon, the performance counters are by seconds. What I can get by using get-netadapterstatictics is the accumulated statistics. 


Wrong. Go look.
Free Windows Admin Tool Kit Click here and download it now
August 24th, 2015 2:59pm

Perfmon doesn't seem to report Packets Received and Packets Outbound which are what I am looking for as well.

Bytes Total/sec 
Bytes Sent/sec 
Bytes Received/sec 
Current Bandwidth
UDP\ Segments Received/sec 
UDP\ Segments Sent/sec 
TCP\ Frames Sent/sec 
TCP\ Frames Received/sec 
Server\ Bytes Total/sec 
Server\ Bytes Received/sec 
Server\ Bytes Sent/sec
Output Queue Length
Packets Outbound Discarded
Packets Outbound Errors
Packets Received Discarded
Packets Received Errors


 
August 24th, 2015 7:22pm

Try:

netsh interface ipv4 show ipstats

Free Windows Admin Tool Kit Click here and download it now
August 24th, 2015 7:36pm

I had tried netsh command but it didn't seem to give what get-netadapterstatistics provides. 
  • Edited by J-goh 11 hours 43 minutes ago
August 25th, 2015 2:56pm

The following outlines pretty much the total range of choices available.

http://blogs.technet.com/b/heyscriptingguy/archive/2014/01/17/gathering-network-statistics.aspx

packets/segments/datagrams are all pretty much context sensitive terms and are applied to different layers of the OOSI model. In many cases the usage in the wild is incorrect. In many cases a datagram and a packet are identical.

See: http://www.tcpipguide.com/free/t_MessagesPacketsFramesDatagramsandCells-2.htm

Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 4:04pm

I had tried netsh command but it didn't seem to give what get-netadapterstatistics provides. 
  • Edited by J-goh Tuesday, August 25, 2015 7:27 PM
August 25th, 2015 6:53pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics