Basics | Using Pipe & Select

The pipe | as its called passes whatever data is to the left of the pipe and passes it to the right of the pipe. You can then further refine your output by using select or formatting it or even exporting it to text of CSV file formats.

Pipe Items

As you can see in the example below the data pulled from Get-Service is passed using the pipe to the select statement and then passed again to the Where-Object and the final output is only the data of running services and the name and status.

PowerShell Pipe