$m =gwmi Win32_PhysicalMemory
$m|measure -Property capacity #计算 Property 出现次数
$m|measure -Property capacity -sum #计算 Property的总和