PowerShell Genie

How do you get the smallest three processes by memory?

Quiz 2 min read Windows PowerShell 5.1 and PowerShell 7

Documentation: Microsoft Learn

Sort processes by working set, keep the smallest three, and prove you know which property measures memory.

Overview

QUIZ

Pipeline logic · Question 2 of 12

Inspect a sample

1PS> Get-Process
Show reference output
1 Name ProcessName Id CPU WS
2 ------- ----------- ----- ------ ---------
3 chrome chrome 9184 842.31 486539264
4 notepad notepad 3200 0.4 12582912
5 pwsh pwsh 11268 18.27 78643200
6 spoolsv spoolsv 4400 1.4 33554432
7 MsMpEng MsMpEng 2600 950 220200960

Review the prerequisite

practice

Primary documentation

Windows services and processes documentation

Choose your answer

Choose one answer to see feedback.

Next question
Genie guideHow do you get the smallest three processes by memory?

Sort processes by working set, keep the smallest three, and prove you know which property measures memory.