September 25th, 2014

PowerTip: Use PowerShell to Assess Memory Requirements

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to assess memory requirements.

Hey, Scripting Guy! Question How can I use Windows PowerShell to figure out the minimum, maximum, and average working set
           requirements for processes on my workstation?

Hey, Scripting Guy! Answer Use the Get-Process cmdlet to return the working set information. Select the working set and pipe the results
           to Measure-Object. Here is an example:

Get-Process | measure ws -Maximum -Minimum -Average

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.