The rootwmi Namespace contains a class that just returns the link speed of your network card. Quick and easy to use function. function get-linkspeed {
param (
[string] $computer = "."
)
Get-WmiObject -Namespace rootwmi -Class MSNdis_LinkSpeed… Read the full text.