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.




Comments

Popular posts from this blog

How To Use Sandboxie In Windows 10

When navigating online and downloading & executing applications, clicking on links, visiting websites that you're not familiar with and so forth, your computer Is vulnerable to being Infected with a virus. The last thing you need, Is to have your sensitive files compromised or hit with a nasty piece of malware. To prevent this, In this tutorial, I will show you how to safely perform all the above and more, by using a software named Sandboxie.

How To Create A Virtual Machine Using VMware

A virtual machine, often abbreviated as a VM, Is a software program containing an operating system that's Installed on the physical machine (PC), and operates In It's own Isolated environment. Every task performed In the VM, remains there, without affecting the main computer. Every user should have a virtual machine up and running, so In this tutorial, I will demonstrate a detailed guide on how to create & Install a virtual machine on your computer, namely VMware Workstation.

Create A Bootable USB Flash Drive

If you have a Bootable ISO Image file of the Windows operating system, obviously the Intention Is to burn It to disc and boot from your PC thereafter. However, optical drives are slowly being phased out In manufacturing & shipping of new computers, so what do you do from here? The alternative Is to create a bootable USB flash drive, and I will show you exactly how It's done. The process Is quite simple, yet a lot of users fail to grasp the concept.