Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Rounding and converting to GB
$freeMemory = [math]::round($w32OSInfo.FreePhysicalMemory /1MB, 0)
$intSize = [math]::round($intSize / 1GB, 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.