PowerTip: Use PowerShell to Show Network Adapter Status

PowerTip: Use PowerShell to Show Network Adapter Status

  • Comments 3
  • Likes

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'

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • 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?

  • @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.

  • Wow nice <a href="www.panasonic.com/.../pt-vx505nea.html"><b> network adapter</b></a> having all new features in it.