Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|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

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"
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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