Detect the ethernet network speed using PowerShell or WMI is perfect for Windows Server Core. 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

Did you know you can list all Hyper-V virtual machines MAC addresses easily with PowerShell?

That was easy, now wasn’t it?! 🙂 Of course you can also use PowerShell’s Get-NetAdapter cmdlet. The Get-NetAdapter cmdlet gets the basic network adapter properties, like:

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

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


Did this post help you solve a problem? Want to say thanks?

Did you find this post interesting? Did it help you solve a problem? If I’ve helped you out and you want to thank me, then why not buy me a coffee?

This may interest you:   Check website availability with PHP and cURL

A small donation of just $5 (or more 😉 ) helps out a lot in the development, research and hosting of this blog.

If I’ve helped you out and you want to thank me, why not buy me a coffee?

Thank you for your support.