By Ellie / Last Updated April 7, 2022

How can I check RAM on remote computer?

“I am attempting to check the amount of RAM on a remote computer on the domain. How can I do this using the command line?”

Check RAM on remote computer using PowerShell

RAM (Random Access Memory) component that temporarily stores all the information a device needs both right now and imminently. It is essentially a device’s short-term memory. Here in this part, we’ll show you how to check RAM on remote computer using PowerShell. With different command lines, you can get the specific information you need.

How many memory slots do I have?

If you want to check how many memory slots do you have, you can use the following command line.

Step 1. Right-click Start, then choose Windows PowerShell.

Start Windows PowerShell

Step 2. Enter the following command line and then press Enter:

Get-WmiObject -class "Win32_PhysicalMemoryArray" -computername XXX

Note: Replace XXX with the name of the remote computer. Here in this post, we’ll take C-20141222B as an example.

Physical Memory Array

The MemoryDevices column indicates how many memory slots are available on your computer while MaxCapacity tells you how much total RAM you can install.

How many memory sticks and a total of RAM are installed?

If you want to check how many memory sticks and the total of RAM installed, you can use the following command line.

Open Windows PowerShell, enter the following command line, and then press Enter:

Get-WmiObject Win32_PhysicalMemory -computername XXX | Measure-Object -Property Capacity -Sum

Memory Sticks

How do I put everything together?

If you want to put all codes together in a PowerShell format so as to easily get all information at once, you can run the following command line.

Open Windows PowerShell, enter the following command line, and then press Enter:

ram.ps1 -computername remotecomputer

Total RAM Installed

How to check PC RAM remotely using remote desktop software

Another option for you to check RAM on a remote computer is to use remote desktop software to remotely access the computer and then check it more intuitively. Here the remote desktop software we would like to recommend is AnyViewer. It provides users with unattended remote access. You can remotely control a PC and check PC RAM remotely even if the PC is unattended.   

Download Freeware Win 11/10/8.1/8/7
Secure Download

Step 1. Download, install, and launch AnyViewer on both computers.


Note: AnyViewer also has an iOS version, you are also able to remotely control your PC from your iPhone or iPad.

Step 2. Go to Log in, and then click Sign up. (If you already have signed up on its official website, you can log in directly.)

Log in AnyViewer

Step 3. Fill in the signup information.

Sign Up for AnyViewer

Step 4. Then you can see you successfully logged in to AnyViewer. Your device will automatically be assigned to the account you've logged in to.

Free Editions

Step 5. Log in to the same AnyViewer account on the two devices, then click Remote control to achieve unattended remote access.

Connect to My Devices

Note: If you want to assign more devices to achieve unattended remote access, then you can upgrade your account to a Professional or Enterprise plan. Also, you can connect to another computer in privacy mode, which means you can black the screen and block the mouse and keyboard of the remote computer.

Pro Edition

Step 6. Now, you’ll ready have full control of the remote computer. Click Operation on the top, and then choose Task Manager to open it directly.

View Task Manager

Step 7. In the Task Manager, go to the Performance tab, and click Memory. The total amount of RAM you have installed is displayed here. Other information like Speed, Slots used, Form factor, etc., are also displayed here.



If you need to check RAM on a remote computer, here in this post we provide you with two options. On the one hand, you can use PowerShell to get the information you want quickly. On the other hand, you can use remote desktop software AnyViewer to remotely access another computer and check RAM with GUI. The former sounds more convenient while the latter sound more intuitive. You can choose according to your own needs.