I am using this code to detect network adapters:
(Get-NetAdapter).InterfaceDescription
The problem with this code is that it detects all network adapters (including Wi-Fi and virtual adapters by VMware).
I just want to detect the ethernet adapters installed in the device.
Could PowerShell do this at all?