Alan Varga
asked on
Use the results of one PowerShell cmdlet to filter another cmdlet
I can get a window of all of the network adapters on my computer if I use
I can get the physical addresses for all of the network adapters using
How can I combine these to get the physical address for the adapter selected from the choices in the window?
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?
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Alan