Tip: You can get the MAC address on a remote computer:
1 2 3 4 5 6 7 8 9 10 |
# Solution 1 Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration -Filter "IPEnabled='True'" -ComputerName client01 | Select-Object -Property MACAddress, Description # Solution 2 Get-WmiObject -ClassName Win32_NetworkAdapterConfiguration -Filter "IPEnabled='True'" -ComputerName client01 | Select-Object -Property MACAddress, Description # Solution 3 getmac.exe /s client01 |