January 17th, 2014

PowerTip: Use PowerShell to Find Networking Counters

Doctor Scripto
Scripter

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'

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.