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++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -