I can get a window of all of the network adapters on my computer if I use
Get-CimInstance Win32_NetworkAdapter | Out-GridView -PassThru
Open in new window
I can get the physical addresses for all of the network adapters using
Ipconfig /All | Select-String Physical
Open in new window
How can I combine these to get the physical address for the adapter selected from the choices in the window?