Checking Network Adapter Speed

Share |

Join PowerShell.com!
Subscribe to Feed

PowerShell eBook
Sign up for
Your PowerTip of the Day:

Award-winning PowerShellPlus


Admin Guide to PowerShell Remoting


Mastering PowerShell eBook

Sometimes, just one line of PowerShell code gets you all the information you may have needed. There is a .NET type called NetworkInterface, for example, that lists all of your network adapters, their speed and status:

PS> [System.Net.NetworkInformation.NetworkInterface]::GetAllNetworkInterfaces() | Select-Object -Property Description, Speed, OperationalStatus 

Description                                Speed OperationalStatus
-----------                                ----- -----------------
Broadcom 802.11n Network Adapter        52000000                Up
VirtualBox Host-Only Ethernet Adapter  100000000                Up
Software Loopback Interface 1         1073741824                Up
Microsoft ISATAP Adapter                  100000              Down
Microsoft ISATAP Adapter #2               100000              Down
Teredo Tunneling Pseudo-Interface         100000              Down

Twitter This Tip! ReTweet this Tip!


Posted Feb 04 2013, 06:00 AM by ps1
Copyright 2012 PowerShell.com. All rights reserved.