I'm new to PowerGadgets and it looks useful to me so I thought I would write a simple script to display the process that is consuming the most memory.
This is the script I used:
(Get-WmiObject win32_process | Sort-Object -property ws | Select-Object -last 1).ProcessName
and the second section shows the Working Set for said memory hog:
(((Get-WmiObject win32_process | Sort-Object -property ws | Select-Object -last 1).ws)/1024)/1024
I found it a little disconcerting where "PowerGadgets.Presenter.exe" kept being listed as the process with the highest Working Set. It doesn't seem to matter how simple the script is, or the gauge type, the Presenter process consistently consumes 40+ Megs of memory.
I'm wondering if this is particular to my system or if others have noticed the same? Any ideas?
Cheers...
-Fred.