Artifact 85ad08454021c2fb4c6e6edd44adf3fdf429d784dc29c3aba3baedf8d92c0191:
- File NIC-Performance.ps1 — part of check-in [bb23d154c6] at 2018-06-10 12:56:54 on branch trunk — Reads perfmon counters from all network interfaces (user: unknown size: 489)
# encoding: ascii # api: powershell # title: NIC Performance # description: Reads perfmon counters from all network interfaces # version: 0.1 # license: CC0 # x-poshcode-id: 1345 # x-derived-from-id: 1346 # x-archived: 2009-10-27T00:33:20 # # $cat = New-Object system.Diagnostics.PerformanceCounterCategory("Network Interface") $inst = $nic.GetInstanceNames() foreach ( $nic in $inst ) { $a = $nic.GetCounters( $nic ) $a | ft CounterName, { $_.NextValue() } -AutoSize }