Here’s a nifty little query that will return the physical memory configuration of each computer registered in SCCM 2012. I’m excluding the System ROM (where layeth the BIOS) because we don’t really care about that here. We want the RAM! Written in SQL Server Management Studio 2012.
select v_GS_PHYSICAL_MEMORY.DeviceLocator0 as [Slot], v_GS_PHYSICAL_MEMORY.Capacity0 as [Size], v_GS_PHYSICAL_MEMORY.Manufacturer0 as [Manufacturer], v_GS_PHYSICAL_MEMORY.PartNumber0 as [Part Number], v_GS_Computer_System.Model0 as [Model], v_GS_Computer_System.Name0 as [Hostname], v_GS_Computer_System.UserName0 as [Username] from v_GS_PHYSICAL_MEMORY left join v_GS_COMPUTER_SYSTEM on v_GS_PHYSICAL_MEMORY.ResourceID=v_GS_COMPUTER_SYSTEM.ResourceID /* We don't care about the system rom. */ where v_GS_PHYSICAL_MEMORY.DeviceLocator0 not like 'SYSTEM ROM' /* Sort by hostname. */ order by v_GS_Computer_System.Name0