How to USE PowerShell Pipeline

preview_player
Показать описание
Working with the PowerShell Pipeline
How to use PowerShell Objects and Data Piping
The pipeline: connecting commands
How to USE PowerShell Pipeline

A pipeline is a series of commands connected by pipeline operators (|) (ASCII 124). Each pipeline operator sends the results of the preceding command to the next command.

The output of the first command can be sent for processing as input to the second command. And that output can be sent to yet another command. The result is a complex command chain or pipeline that is composed of a series of simple commands.
Get-Process notepad | Stop-Process
#Powershell #PaddyMaddy #windowsPowershell
Рекомендации по теме
Комментарии
Автор

Working with the PowerShell Pipeline
How to use PowerShell Objects and Data Piping
The pipeline: connecting commands
How to USE PowerShell Pipeline

A pipeline is a series of commands connected by pipeline operators (|) (ASCII 124). Each pipeline operator sends the results of the preceding command to the next command.

The output of the first command can be sent for processing as input to the second command. And that output can be sent to yet another command. The result is a complex command chain or pipeline that is composed of a series of simple commands.
Get-Process notepad | Stop-Process

PaddyMaddy