How to Check RAM Type with Powershell on Windows | Action1 RMM

Author: Peter Barnett           Date: Mar 06, 2020


This article shows the steps you can use to learn how to check ram type in Windows Powershell.

To obtain information about the characteristics of the RAM installed in the computer, there are different ways. This can be done using third-party utilities, as well as built-in operating system tools, for example using the command line. This article will discuss how to obtain information about the characteristics of RAM using the Windows PowerShell command shell.

Instances of the 'Win32_PhysicalMemory' class make it possible to obtain information about the characteristics of computer RAM

Use Action1 to get RAM information:
  

Fully functional for 50 endpoints, never expires. More details >



Powershell Commands to Find out the Main Characteristics of RAM


In order to find out the main characteristics of RAM, run Windows PowerShell as administrator and run the following command:

Get-WmiObject Win32_PhysicalMemory | Format-Table BankLabel, Capacity, Manufacturer

Here, in this example, we see that the manufacturer of the memory modules (Manufacturer column) is Kingston, but depending on the model and manufacturer of the memory module, the Manufacturer parameter may be empty.

Command to powershell check ram type (find out manufacturer of the memory modules)

The memory size (Capacity column) is displayed in bytes, which is inconvenient for visual perception. Convert the displayed data using the Select-Object cmdlet so that the value of the Capacity property is displayed in gigabytes, to do this, run the command:

Get-WmiObject Win32_PhysicalMemory | Select-Object BankLabel, @ {Name = "Capacity, GB"; Expression = {$ _. Capacity / 1GB}}, Manufacturer

Command to powershell check ram type (Capacity column in bytes)

Using PowerShell, you can check RAM type (the form factor of installed memory modules). To do this, run the command:

Get-WmiObject Win32_PhysicalMemory | Select-Object FormFactor

The result of the executed command is shown below, the number 8 indicates that the memory modules correspond to the DIMM form factor, the standard standard size of desktop computers.

form factor of installed memory modules

The screenshot below shows the result of the command on the laptop, the number 12 indicates that the memory modules correspond to the SODIMM form factor, which is usually installed in laptops.

memory modules correspond to the SODIMM form factor

To find out the type (generation) of memory modules, run the command:

Get-WmiObject Win32_PhysicalMemory | Select-Object SMBIOSMemoryType

In this example, the numbers 26 indicate that DDR4 memory modules are installed

Powershell check ram type shows that DDR4 memory modules are installed

The screenshot below shows the result of executing a command on a computer in which DDR3 memory modules are installed, the numbers 24 tell us about this.

DDR3 memory modules are installed

To find out the frequency at which RAM runs, run the command:

Get-WmiObject Win32_PhysicalMemory | Select-Object Speed

The numbers 2400 indicate that the frequency of the memory module is 2400 MHz.

frequency of the memory module

To find out the voltage of the memory modules, run the command:

Get-WmiObject Win32_PhysicalMemory | Select-Object ConfiguredVoltage

The value is displayed in millivolts.

value is displayed in millivolts

For reference, voltages for different types of memory are presented below:

     
  • DDR 2.5V 2500mV  
  • DDR2 1.8V 1800mV  
  • DDR3 1.5V 1500mV  
  • DDR4 1.2V 1200mV

To find out the batch number and serial number, run the command:

Get-WmiObject Win32_PhysicalMemory | Select-Object PartNumber, SerialNumber

PartNumber displays the part number assigned by the organization responsible for creating or manufacturing the physical element. The PartNumber parameter is very useful, but not always as explicitly informative as in this example. You can also copy the PartNumber parameter of your memory bar and search for information on the Internet.

display the part number

In order to view all the properties of the Win32_PhysicalMemory class, run the command:

Get-WmiObject Win32_PhysicalMemory | Format-List *

Using the above commands, you can find out the characteristics of the RAM installed in your computer.

Commands to powershell check ram type and other characteristics




Consider using Action1 to get RAM information if:


  • - You need to perform an action on multiple computers simultaneously.
  • - You have remote employees with computers not connected to your corporate network.

Action1 is a cloud-based platform for patch management, software deployment, remote desktop, software/hardware inventory, endpoint management and endpoint configuration reporting.

  

Fully functional free edition for up to 50 endpoints with no expiration date. More details >





Relevant How To Articles and Action1 Features:

By continuing to use our website, you agree with our use of cookies in accordance with our Privacy Policy. You can reject cookies by changing your browser settings.     
Ok, got it