This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
windows:get_total_ram [2013/04/19 13:53] tschulz created |
windows:get_total_ram [2013/04/19 13:56] tschulz |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Get Total Ram ====== | ====== Get Total Ram ====== | ||
- | <file vbs total_ram.vbs> | + | <file vb total_ram.vbs> |
strComputer = "." | strComputer = "." | ||
Line 11: | Line 11: | ||
For Each objComputer in colComputer | For Each objComputer in colComputer | ||
total_mem = objComputer.TotalPhysicalMemory / 1024 / 1024 | total_mem = objComputer.TotalPhysicalMemory / 1024 / 1024 | ||
+ | Wscript.Echo total_mem | ||
</file> | </file> |