11-29-2008
Downloads: 617
File size: 275 B
Views: 6,705
Embed
 |
Get Physical RAM installed on a computer |
-
-
-
-
-
- $mem = Get-WmiObject -Class Win32_ComputerSystem
-
-
- "This system has {0} MB Free Memory" -f $($mem.TotalPhysicalMemory/1mb)
This script used teh Win32_ComputerSystem script displays the amount of physical ram installed on the computer. This is a MSDN Sample recoded using PowerShell