•Arnošt Havelka
Select Properties with Select-Object
Filter and display specific properties using Select-Object.
Start Interactive LessonThe Select-Object cmdlet lets you choose which properties to display from objects. Keep output focused and readable.
Selecting Specific Properties
Try the command
Select specific properties!
Build the command
Get-ChildItem | Select-Object [property]
Terminal
C:\Users\User>Get-ChildItem | Select-Object -Property Name
Focused Output
Command Prompt
[Shows many properties: Mode, LastWriteTime, Length, Name, etc.]
C:\Users\User>Get-ChildItem
Knowledge Check
1 / 1How do you select only the Name property?
References
These documentation links provide authoritative details for the commands used in this article.
Up Next
Filter with Where-Object
Use Where-Object to find items matching conditions.