This article applies to:

Windows Server 2016

When planning for server memory upgrades, you usually need to get the following information:

  • available slots
  • if those slots are filled or not
  • and if filled what is the capacity of the memory module in it.

This information can be easily collected by using the following PowerShell command:

Copy to Clipboard


The command will provide an output like this:

DeviceLocator Memory in GB
------------- ------------
Dimm 1                  32
Dimm 8                  32
Dimm 9                  32
Dimm 16                 32
Dejan Foro