Capture network usage from command line or powershell?


  1. Posts : 3
    Windows 7 and 10
       #1

    Capture network usage from command line or powershell?


    I know you can see what applications are using how much data in a given period of time by going to Start -> Settings -> Network & Internet -> Data Usage, then clicking the Usage Details option to bring up a list.

    Does anyone know if there's a way to output this list at the command line or from powershell?
      My Computer


  2. Posts : 5,329
    Windows 11 Pro 64-bit
       #2

    You can execute Netstat -e -s command displays Ethernet statistics.

    You can also execute Get-NetAdapterStatistics powershell command to gather network adapter statistics. It provides a quick overview of the sent and received packets.
      My Computer


  3. Posts : 809
    Win10
       #3

    You are looking for the per-app total data usage, correct?

    I haven't found a way to directly get the cumulative data - it doesn't appear that MS exposes any interfaces to access the data usage info. There are tools that can parse the database and get the hourly data values - NetworkUsageView . Then you can do some post-processing on the .csv to add up all the entries for each app.

    Capture network usage from command line or powershell?-image.png
      My Computer


  4. Posts : 3
    Windows 7 and 10
    Thread Starter
       #4

    Thanks for the suggestions. I have someone asking me to pull the information about "what apps used all their data this month?" for a list of computers. I was hoping for a way to pull that list out without having to remote in to a given computer. Ah well. I'll keep digging but it looks like there isn't an easy way to do what I was asked to do.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:29.
Find Us




Windows 10 Forums