Select-Object
SafePick properties/rows
... | Select-Object Name,Status
Projects properties; -First takes top N; -ExpandProperty unwraps raw values. Core shaping tool.
Examples
Get-Process | sort CPU -desc | select -First 5 Name,CPUTop 5 by CPU
Syntax
<cmd> | Select-Object <props> [-First N] [-Unique]
Before you run it
Read only.
Related commands
- Where-ObjectFilter objects
- Sort-ObjectSort objects
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store