Created
May 22, 2015 13:59
-
-
Save rysstad/45379d1480cac5edcab3 to your computer and use it in GitHub Desktop.
Get physical RAM in Gb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get physical RAM in Gb | |
$physicalRAM = "{0:N0}" -f ((Get-WmiObject -Class Win32_ComputerSystem).TotalPhysicalMemory / 1gb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment