7.7. Summary
The where-object cmdlet allows you to filter objects passing along a pipeline to reduce or eliminate unwanted results. The value of the -filterScript parameter is used to determine whether an object is passed along the pipeline or is discarded.
The select-object cmdlet allows you to select specified objects or properties for further processing in a pipeline. The -first and -last parameters allow you selectively to process a specified number of elements at the beginning or end of an array. When used with sorted data these parameters allow you to select a specified number of the highest or lowest values in a data set.
The formatting of objects for display in Windows PowerShell is carried out using the default formatter. The format-table cmdlet allows you to more selectively display data or to customize the appearance of selected data. The format-list cmdlet allows you to display data in a list format.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access