June 2025
Beginner to intermediate
473 pages
13h 30m
English
cmdlets return objects, not just text. The text displayed in the terminal is created because PowerShell converts the objects into text by default. To achieve better readability, many details are removed in the process.
One of the most basic PowerShell tasks is to pass results to a second cmdlet using the pipe operator. This allows you to filter, process, or format the data in a variety of ways. You have already seen some cmdlets for this purpose, such as Select-Object or ForEach-Item. This section summarizes the basic functions of these frequently needed cmdlets.
You can use Select-Object (alias select) to reduce the output to single properties or select only the first/last ...
Read now
Unlock full access