$computer = Get-Content c:\computerlist2.txt Get-WMIObject -class win32_physicalmemory -computer $computer | Measure-Object -Property capacity -Sum | select @{N="Total Physical Ram"; E={[math]::round(($_.Sum / 1GB),2)}}