Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Display memory used by a given process

$
0
0

From Task Manager I see that a process whose name is "OUTLOOK" uses 83,33 MB of memory.

I issued the following command:

Get-Process -name "OUTLOOK" |select ProcessName, Path, VirtualMemorySize, PrivateMemorySize, NonpagedSystemMemorySize, PagedMemorySize, PeakPagedMemorySize

and the result is:

ProcessName              : OUTLOOK
Path                     : C:\Program Files (x86)\Microsoft Office\Office16\OUTLOOK.EXE
VirtualMemorySize        : 1085014016
PrivateMemorySize        : 152788992
NonpagedSystemMemorySize : 117008
PagedMemorySize          : 152788992
PeakPagedMemorySize      : 224669696

Non of the date reported is at least similar to the value reported by task manager.

Which value should I select to get the same value reported by Task Manager?

Regards

Mario


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>