Try it like this
$report=@()foreach ($poolinGet-ResourcePool) { $row=""|SelectName,ParentID,MemLimitGB,Parent,"VC"
$row.Name=$pool.Name
$row.ParentID=$pool.ParentID
$row.MemLimitGB= [int]$pool.MemLimitGB
$row.Parent=$pool.Parent
$row."VC"=$vc
$row."CONFIGMEM"=$pool.ExtensionData.summary.configuredMemoryMB
$report+=$row
} $report|Export-Csv
To reach the vSphere ResourcePool object, you go through the ExtensionData property.