PowerShell – Network Command – “Get-NetAdapter”

Background

Have a few days of network diagnostic work ahead.

And, so let us prepare and go through our requirements worksheet.

Get-NetAdapter

Outline

The Get-NetAdapter command lists the network adapter on our machine.

Syntax


PowerShell -Command "Get-NetAdapter"

Sample


PowerShell -Command "Get-NetAdapter"

Output

Output-Image

get-NetAdapter.02.20200501.0948AM.PNG

Output-Text


Name                      InterfaceDescription                    ifIndex Status       MacAddress             LinkSpeed
----                      --------------------                    ------- ------       ----------             ---------
Ethernet                  Intel(R) Ethernet Connection (4) I21...       7 <span id="mce_SELREST_start" style="overflow:hidden;line-height:0;"></span>Disconnected 10-65-30-82-28-5D          0 bps

Ethernet 4                TAP Adapter OAS NDIS 6.0                      5 Disconnected 00-FF-84-55-D1-F0       100 Mbps

Wi-Fi                     Intel(R) Dual Band Wireless-AC 8265           3 Up           30-24-32-B4-45-E2       108 Mbps

Explanation

  1. I am on a laptop using a wireless connection
  2. The key points for me are
    • My Interface NIC Index
      • 3 in this case
    • Speed
      • 108 Mbps
        • It is sufficient

One thought on “PowerShell – Network Command – “Get-NetAdapter”

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s