Do you want to get your Memory info from the CMD? On this post, I will show you some useful commands that you can use on Windows.
While you can find the total amount of physical memory, or RAM, installed on the computer from the Control Panel, you can get even more info, such as slot location and speed, by using the WMIC command in a command prompt with elevated privileges.
If you have several memory modules installed in the computer, the console system symbol shows the information of each module separately. You can also use an alternative method if you only want to check the total amount of physical memory installed.
CMD Memory Info Commands
Now, if you want to get your memory info on Windows 10, 8, 7 follow these simple steps:
1. Open the Command Prompt as Administrator.
2. Now write the following command that I will leave you below (copy and paste it in the console)
wmic MemoryChip get BankLabel, Capacity, MemoryType, TypeDetail, Speed, Manufacturer
As you see in the following image when pressing Enter, you will get your memory info, and this is an example of the output:
C:\>wmic MemoryChip get BankLabel, Capacity, MemoryType, TypeDetail, Speed, Manufacturer
BankLabel Capacity Manufacturer MemoryType Speed TypeDetail
Bank04294967296 ELPIDA 24 13334
Bank18589934592 Samsung24 16004
As you can see in this case in capacity, it appears that in a slot it has 4GB of RAM at 1600 speed and in the other slot it has 8GB of RAM at 1600 speed.
Keep in mind that seeing the value of MemoryType, you will know the type of memory that you have since the number indicates the type of RAM.
- 20 = DDR
- 21 = DDR2
- 24 = DDR3
In my this, it’s 24 both, so the two memory cards are DDR3.
You can see other things as they are:
- BankLabel = slot or slot of the motherboard where this RAM module is connected
- Capacity = Amount of RAM in bytes as I said before.
- Manufacturer = Manufacturer of RAM
- Speed: Speed
- TypeDetail: Type of memory
WMIC Command Tips
You can use the command in several ways: using “BankLabel”, “capacity” or “speed” commands in any order, or omit any command that you deem unnecessary. For example, type
wmic MemoryChip get Capacity in a command prompt with administrator rights to check the capacity of each memory module.
You can also use the MSINFO32 command in the command prompt to open the system information window. Click on the System Summary side-tab and check next to the installed physical memory (RAM) to find the total amount of RAM installed.
As easy as that you can get you memory info from the CMD in Windows 10, 8, 7 I hope it serves you as I have also used this command many times.
Also, since you are here, I will leave you other posts you may find interesting: