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
ReTweet this Tip!
Posted
Feb 04 2013, 06:00 AM
by
ps1