Display Link Speed and Duplex Speed Information

Windows 8, 8.1, Server 2012,  and Server 2012 R2 has a PowerShell cmdlet called: Get-NetAdpater. This tool can be used to quickly get critical network information from a system, such as Half or Full Duplex settings.

Below is the command to get the Name, Description, MAC, Duplex, and LinkSpeed of your network adapter:

Get-NetAdapter | Select-Object -Property Name, InterfaceDescription, MacAddress, FullDuplex, LinkSpeed

Output:

Name : Wi-Fi
InterfaceDescription : Intel(R) Dual Band Wireless-AC 7265
MacAddress : XX-XX-XX-XX-XX-XX
FullDuplex : False
LinkSpeed : 144.4 Mbps

There is more information that can be displayed. To view all the property names type:

Get-NetAdapter | Select-Object -Property *

Now you can build your own PowerShell command to display exactly what you want!!

 

Windows 7 and Server 2008 R2 can also use PowerShell to find similar information:

Get-WmiObject -ComputerName ‘localhost’ -Class Win32_NetworkAdapter | `Where-Object {$_.Speed -ne $null -and $_.MACAddress -ne $null } | `Format-Table -Property SystemName,Name,MACAddress,NetConnectionID,Speed

Output:

SystemName : systemname
Name : NVIDIA nForce 10/100/1000
NetConnectionID : Local Area Connection
MAC Address : XX-XX-XX-XX-XX-XX-XX
Speed : 100000000

There is more information that can be displayed. To view all the property names type:

Get-WmiObject -ComputerName ‘localhost’ -Class Win32_NetworkAdapter

You can add or subtract what is displayed.

 

Keep in mind that there is no such thing as Half-Duplex for 1G and 10G connections.

 

 

Leave A Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.