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

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -