Powershell – Get Network Adapter Connection Speed
One-Liner to get network adapter speed in Powershell.
Get-WmiObject -ComputerName computer.contoso.com -Class Win32_NetworkAdapter | Where-Object { $_.Speed -ne $null -and $_.MACAddress -ne $null } | Format-Table -Property NetConnectionID,@{Label='Speed(MB)'; Expression = {$_.Speed/1MB}}