Calculate bandwidth per user bandwidth usage for RRAS users

Hello PowerShell Experts,

I am trying to make a script in powershell that can detect that how much bandwidth each RRAS(Routing and remote Access VPN Server) connected user is consuming, then adding up individual bandwidth and compare it to the total available bandwidth on the server. Can any body provide me with the logic of the script or some article or hint using which this can be achieved.

Thank You.

Frank

September 4th, 2015 4:20pm

Use "perfmon" to explore the performance counters available. Once you find your counters use "Get-Counter" to get the correct counters.  You will need to write a script to scan repeatedly or find the WMI instance event that happens when the session is ending.

THe best way is just to set "perf" counters to continuously monitor all instance and then write a script to extract the data from the logs.

There are many third party tools that set up VPN accounting and deliver reports.

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

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

Other recent topics Other recent topics