title: Windows 7 - Get RAM details using powershell script
body: <p>Is there any direct/simple command to get the RAM information through PS script, for example 4GB.</p>
  
  <p>For eg. to retrieve OS Name I am using this command:</p>
  
  <pre><code>(Get-WmiObject Win32_OperatingSystem).Caption
  </code></pre>