Dec 4, 2024
cd
, ls
).|
to pass objects between commands.Format-List
: Lists object properties.Format-Table
: Displays objects in table view.Get-Process
Name
, ID
, etc., shown along top of tables.Format-List
to view object properties in list format.Measure
Where
Where {condition}
.$_.property -eq 'value'
.Sort
Sort-Object {property}
.ForEach
ForEach-Object {action}
.Get-Process
.Where
.CPU
property with ForEach
.Measure
.Measure
, Where
, Sort
, ForEach
.