Powershell Link Speed Remotely

It can be useful to be able to view the link speed of a remote system. This is often used if you want to confirm that for example a specific computer is getting a 1 Gb connection.

Get-WmiObject -class Win32_PerfRawData_Tcpip_NetworkInterface -ComputerName tyrellb-3385 | Format-Table Name,@{label="LinkSpeed(MB)";Expression={$_.CurrentBandwidth/1000000 -as [int]}}            


This will display the results in a user friendly MB view.