PowerTip: Use PowerShell to Show Network Adapter Status


Summary: Use a function in Windows 8 to show network adapter status information.

Hey, Scripting Guy! Question How can I use Windows PowerShell in Windows 8 to find network adapter status information, such as link speed and duplexing?

Hey, Scripting Guy! Answer Use the Get-NetAdapter function, and select the appropriate properties, for example:

Get-NetAdapter | SELECT name, status, speed, fullduplex | where status -eq 'up'

Comments (3)

  1. mredwilson says:

    @NetPilot hmmmmmm. On my laptop the first command returns:

    InterFaceDescription  Status               LinkSpeed                      FullDuplex

    The second command returns:

    Name                      InterfaceDescription                    ifIndex Status

    So it is not the default display. I am not certain how you are getting something different.

  2. Netpilot says:

    I'd prefer see the Interface Description rather than the name and the speed in Gbps. I tried:

      Get-NetAdapter | SELECT InterFaceDescription, Status, LinkSpeed, FullDuplex | where Status -eq 'up'

    Why does the above first display the default fields as if I had typed:

      Get-NetAdapter | where Status -eq 'up'

    and then display the selected fields in list format?

    And what would be the syntax to do what I am trying to do?

  3. rahul says:

    Wow nice <a href="http://www.panasonic.com/…/pt-vx505nea.html"><b&gt; network adapter</b></a> having all new features in it.

Skip to main content