Skip to main content

How To View And Save Every MAC Address

Every network Interface card, be It a wired or wireless connection, has what's called a MAC address (also known as a physical address or hardware address) that's assigned to It by the manufacturer, and Is unique to each network adapter. This allows devices to transmit data and communicate over a network. Sometimes, It's necessary to know the MAC address of your network adapter(s), and In this tutorial, I will show you how to view and save the MAC address of every adapter/device.

Whether you want to Implement MAC address filtering, or your device has been blacklisted and you wish to bypass restrictions, or you simply want to Identify each one for connectivity purposes, you obviously need to know the MAC address of the devices In question.

This also applies to VPN (Virtual Private Network) and Virtual Machine network adapters- both of which have dedicated MAC addresses, that're allocated during the Installation and configuration process. As such, on a given computer, It's not only the PC's MAC address that's of relevance. Taking all this Into account, I will demonstrate how to view each address, and save the results to a text file.

To achieve this, I will be using the Command Prompt, PowerShell and the Wi-Fi settings native to Windows. So without further delay, let's get this started.

Step One:
Firstly, we'll view and print only the computer's MAC address. Open the Windows Settings, and click on Network & Internet and shown below.

Step Two:
To the left of the window, click on Wi-Fi and to the right of that, double-click on your network connection.

Step Three:
Scroll down to the bottom, and you will see the Physical address (MAC) of your computer's network adapter. To generate a report to a text file, simply click Copy.

Step Four:
Upon opening the report In Notepad, the MAC address, along with an array of other network details, have been generated. This Information Is very handy for diagnostic and connectivity purposes.

Step Five:
That was only relative to your PC, so let's delve Into every other entity (on your computer) that contains a MAC address, by using the Command Prompt. To access It, open the Run menu, enter cmd and hit OK.

Step Six:
The Command Prompt will now open, so type getmac /v and hit the Enter key on your keyboard. As you can see, the MAC address of my Wi-Fi adapter, Virtual Machine, VPN and Bluetooth device have all been returned. They're all listed under Physical Address.  

Step Seven:
Whilst still In the Command Prompt, let's print the above details to a text file. The syntax for this Is as follows.
getmac /v > c:\FolderName\Output File Name.txt 

Replace the FolderName with your choice of folder, and the Output File Name with the name of your text file. Here's what my command looks like.
getmac /v > c:\motheredsFolder\Macaddresses.txt 

And this Is the entry In the Command Prompt.

Step Eight:
After hitting the Enter key on my keyboard, the text file has been successfully generated to the above directory.

Step Nine:
I've now opened the text file, and the MAC address (Physical Address) of every network adapter Is viewable.

Step Ten:
Now let's grab every MAC address using PowerShell. Open the Run menu, enter powershell and hit OK.

Step Eleven:
To only display every MAC address In PowerShell, type Getmac and hit the Enter key. You can see my list as per the Image below.

Step Twelve:
Now let's print the list to a text file. Using the same syntax as In Step Seven above, enter your command. Mine looks like this.
Getmac > c:\motheredsFolder\Macaddresses.txt 

Replace those highlighted In red and blue, with your folder name and text file name respectively, and hit Enter. This Is my command In PowerShell.

Last Step:
After opening the text file, the details are very similar to that of the Command Prompt. Of relevance, are the MAC addresses (Physical Address).

Final Thoughts:
Although this may seem like quite a lengthy process, It only takes a minute or so to complete and access the details of each methodology. The good thing about this, Is that It's performed natively within Windows without the requirement for third-party tools. If you come across Issues generating the text files, simply execute the Command Prompt and/or PowerShell with elevated privileges.


Popular posts from this blog

Check The Health Of Your Laptop's Battery

When you first purchase your laptop and fully charge the battery thereafter, It runs at It's optimal state for quite a while. However, over time, It Inevitably decreases In performance, and does not hold It's charge capacity as per It's brand new state. This Is due to wear & tear, and a few other factors. It's very Important to know the condition of your battery, so In this tutorial, I will show you how to view the current status and health of your laptop's battery.

Force Windows 10 To Boot To Advanced Startup

In the event your operating system corrupts and losses functionality to some degree, Windows 10 has the Advanced Startup Options menu, that contains a range of diagnostic and repair utilities to help restore the OS back to It's functional state. You can perform a System Restore, Reset your PC, execute commands via the Command Prompt and more. To have It readily available, In this tutorial, I will show you how to force Windows 10 to always boot to the Advanced Startup settings.

How To Troubleshoot Your PC's Power Settings

Upon purchasing your computer with the Windows OS Installed, by default, It's power plan setting Is set to Balanced. Depending on the manufacturer, the hibernate and sleep modes are also configured to turn off at certain Intervals. You can also create a plan of your own, based on your computing usability. Power plan settings can corrupt at the best of times, hence In this tutorial, I will show you how to troubleshoot your PC's power settings natively within Windows.