PowerTip: Get Network Adapter Statistics in Windows 8


Summary: Use Windows PowerShell 3.0 in Windows 8 to easily get network adapter statistics.

Hey, Scripting Guy! Question How can I easily find network adapter statistics in Windows 8 by using Windows PowerShell 3.0?

Hey, Scripting Guy! Answer Use the Get-NetAdapterStatistics function:

Get-NetAdapterStatistics 

Comments (1)

  1. Maxim Grishin says:

    What to do when "Get-NetAdapterStatistics" results in empty set:

    [Net.NetworkInformation.NetworkInterface]::GetAllNetworkInterfaces() | Foreach {$_.GetIPStatistics()}

    Credits go to Kazun, answer located here:
    https://social.technet.microsoft.com/Forums/windows/en-US/c31d4af5-6fcb-45b9-8ae2-2cfe795994cf/getnetadapterstatistics-not-showing-the-actual-ethernet-adapter?forum=w8itpronetworking