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

How To Decode The Windows 10 Product Key

Every Windows 10 operating system that's Installed and activated on the computer, has what's called a Product Key , that Is either pre-Installed by the manufacturer, or added by the end user when formatting their PC. In order to have a fully-functional OS, It must contain a valid Product Key. Whilst there are many tools that can extract It from the operating system, In this tutorial, I will show you how to manually decode the Product Key.

How To Check Faulty Drivers In Windows 10

For hardware devices to function properly, they must have device drivers  Installed, thus allow them to perform at their optimal state. It's all well and good when they're running without error, but they do tend to fail at the best of times, which can cause system Instability and/or loss of functionality. It can be a difficult task pinpointing the problematic driver(s), so In this tutorial, I will show you how to check faulty drivers , without the aid of third-party tools.

How To Create A Fake File Of Any File Size

Depending on your business environment or Individual requirements, sometimes there Is the need to test files of a given capacity. Such tests can Include Identifying how well your hard disks perform under heavy read/write operations, or to establish whether files can be securely deleted beyond recovery. Whatever the reason may be, In this tutorial, I will show you how to create a fake file of any file size.