Am new to Powershell. I need to get names of all network using get-networkadapter cmdlet. Can anyone please help me out?

link|improve this question
What get-networkadapter cmdlet? This is not a shipping cmdlet with powershell. It's a 3rd party cmdlet - find out who wrote it, and ask them. – x0n Feb 11 '11 at 21:11
feedback

1 Answer

You can use WMI to do this:

Get-WMIObject -Class Win32_NetworkAdapater -Filter "NetEnabled=$true"

will list the network adapter details. If you want to look at the IP address details, you can do so by:

Get-WMIObject -Class Win32_NetworkAdapterConfiguration -Filter "IPEnabled=$true"
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.