Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

network interface useage

$
0
0

I am trying to nail down a wmi query to monitor the bandwidth useage of a network interface.  I have been trying all kinds of things like: Get-WmiObject -ComputerName Server01 -Namespace "root\cimv2" -class Win32_PerfRawData_Tcpip_NetworkInterface | select bytestotalpersec.  The result is a number like 1238616392883 and it seems like it is a running total, not bytes per second in real time.  I have watched it for three days, it never has gone down and continues to go up.  I also tried the script from http://blogs.technet.com/b/parallel_universe_-_ms_tech_blog/archive/2012/03/29/powershell-simple-bandwidth-monitor.aspx but the result is always 0% utilization for any of the network interfaces on the server.  Even when performance monitor shows average 95K bytes per second.  Can anyone give me a clue to what is going on??  I have looked at many google searches and they all have to check the counter I first mentioned.

Thanks so much.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>