techthoughts2
10/6/2015 - 2:24 AM

Rounding and converting to GB

Rounding and converting to GB

$freeMemory = [math]::round($w32OSInfo.FreePhysicalMemory /1MB, 0)

$intSize = [math]::round($intSize / 1GB, 0)