If you need to determine the RAM in a system you can use the Win32_ComputerSystem class Get-CimInstance -ClassName Win32_ComputerSystem | select Name, TotalPhysicalMemory The answer is in bytes BUT it only shows the memory available to the OS. Many systems… Read the full text.