powershell - Single Value Total Ram / Free Ram free memory / total memory -


i looking way find single cooked value output of total memory , memory in use.

gwmi win32_operatingsystem | select totalvisiblememorysize, freephysicalmemory 

so far have this, need value output.

for both of them.

thanks in advance shay ;)

try this:

gwmi win32_operatingsystem | % {   $_.totalvisiblememorysize   $_.freephysicalmemory } 

Comments

Popular posts from this blog

c++ - protocol buffers - generate NON-inline accessors -

c# - issue attaching/adding an entity object which is detached from the DB Context? -