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 - sscanf() double showing zeros -

pentaho - Carte Status / Kettle Slave Server Status page shows status for random runs instead of the latest run -