PowerTip: Use PowerShell to Find Networking Counters

Doctor Scripto

Dr Scripto

Summary:  Use Windows PowerShell to find networking counters.

Hey, Scripting Guy! Question  How can I use Windows PowerShell to find networking counters?

Hey, Scripting Guy! Answer  Use the Get-Counter cmdlet and the –ListSet parameter, select the CounterSetName property, and
          filter on names related to networking. The following command returns sets related to IPv6:

Get-Counter -ListSet * | select countersetname | where countersetname -match 'ipv6'


Leave a comment