Bandwidth Usage per IP Address - PowervRNI
This PowervRNI example script gets a list of IPs with their respective bandwidth usage. This can be useful for billing purposes, where bandwidth utilization needs to be charged. This example needs PowervRNI, on which more info can be found here: https://powervrni.github.io/docs/getting-started
The list of IPs and the bandwidth they've consumed will be outputted in the terminal, but it's easily modified to write the result to CSV, or anything other.
PS > get-help ./get-bandwidth-usage-per-ip.ps1
get-bandwidth-usage-per-ip.ps1 [[-StartTime] <int>] [[-EndTime] <int>]
StartTime and EndTime are unix timestamps for the period of time to retrieve the bandwidth usage.