Get MAC address and network speed informations on a remote computer with PowerShell


You can retrieve network adapter informations with that WMI call :

Get-WmiObject -Class Win32_NetworkAdapter -ComputerName SOFSR2Node2

This line get all network cards plug in the remote computer, but it’s kind of verbose, so you need to add a filter to retrieve only “active” network cards :

Get-WmiObject -Class Win32_NetworkAdapter -ComputerName SOFSR2Node2 -Filter "NetConnectionID LIKE '%'"


As you can see, you have the speed, but not the MAC address but if you pipe that in “Get-Member”, you will see a property called “MACAddress”, so :

Get-WmiObject -Class Win32_NetworkAdapter -ComputerName SOFSR2Node2 -Filter "NetConnectionID LIKE '%'" | Select-Object Name,NetConnectionID,Speed,MACAddress


You can also check the Get-WmiObject help and MSDN.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.