How to detect ethernet network speed in Windows

Ideal for Windows Server Core or Nano: Detect the ethernet network speed using PowerShell or WMI is ideal for Windows Server Core or Nano. If you ever need to lookup the speed of your ethernet network card in Windows on the command-line, use one of the following WMIC commands on your PowerShell prompt:

PowerShell snippet to detect ethernet network speed in Windows #

An easy to use PowerShell snippet to detect ethernet network speed in Windows Server (Core & Nano including) is:

wmic NIC where "NetEnabled='true'" get "Name,Speed"

This prints out the name of the interface and configured speed, like:

PS C:\Users\janr> wmic NIC where "NetEnabled='true'" get "Name,Speed"
Name                                    Speed
Broadcom NetXtreme Gigabit Ethernet #2  1000000000

You can also easily get the network adapter’s MAC address using:

wmic NIC where "NetEnabled='true'" get MACAddress

Or list all Hyper-V virtual machines MAC addresses easily with PowerShell.

That was easy, huh!? :-) Of course you can also use PowerShell’s Get-NetAdapter cmdlet. The Get-NetAdapter cmdlet gets the basic network adapter properties.

PS C:\> (Get-NetAdapter -Name Ethernet).LinkSpeed
1 Gbps

You can lookup the available interfaces and its names with (Get-NetAdapter).Name

Please Support

Each post on Sysadmins of the North takes a significant amount of time to research, write, and edit. Therefore, your donation helps a lot! For example, a donation of $3 U.S. buys me a cup of coffee, and as you know: things jsut work better with coffee. A $10 U.S. donation buys me one month of web hosting (yes, hosting costs money). But seriously, thank you for any amount. Much appreciated!

I thought you might find this interesting:   Failed Request Tracing error LOG FILE MAX SIZE TRUNCATE

Please donate to support this site if you found a post interesting or if it helped you solve a problem. Thanks! (Tip: no Paypal account required)

If you appreciated this post, then please donate using this Paypal button

Jan Reilink

My name is Jan. I am not a hacker, coder, developer, programmer or guru. I am merely a system administrator, doing my daily thing at Vevida in the Netherlands. With over 15 years of experience, my specialties include Windows Server, IIS, Linux (CentOS, Debian), security, PHP, websites & optimization.

Leave a Reply

Be the First to Comment!

Hi! Join the discussion, leave a reply!