PowerTip: Use PowerShell to Assess Memory Requirements


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

Comments (2)

  1. Measure-Object is very helpful indeed. Used it several times to calculate folder size.

Skip to main content