MEET ACTION1 AT RSA CONFERENCE 2024

May 6 - 9 | San Francisco | Booth #5472

Action1 5 How-to Articles 5 How to Check RAM Type with Powershell on Windows

How to Check RAM Type with Powershell on Windows

March 6, 2020

By Peter Barnett

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 on 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.

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 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 access, IT asset inventory, and endpoint management.

See What You Can Do with Action1

 

Join our weekly LIVE demo “Patch Management That Just Works with Action1” to learn more

about Action1 features and use cases for your IT needs.

 

spiceworks logo
getapp logo review
software advice review
trustradius
g2 review
spiceworks logo

Related Posts

No Results Found

The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.