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