Provided you have PowerSHell v3, you can use the CIM cmdlets to retrieve that info.
To set up a CIM session see Alan's post Using PowerShell v3.0 CIM cmdlets with VMware ESXi Hosts.
Once you have a CIM session established you can do
Get-CimInstance-CimSession$Session-ClassNameCIM_Chip
to get the DIMM info.
Or with a filter and a selected set of properties
Get-CimInstance-CimSession$Session-ClassNameCIM_Chip|
where {$_.CreationClassName-eq"OMC_PhysicalMemory" } |
SelectBankLabel,Caption,DataWidth,FormFactor,MAnufacturer,PartNumber,SerialNumber,
@{N="CapacityGB";E={[math]::Round($_.Capacity/1GB,0)}}