MicroNugget: How the PowerShell Pipeline Operator Works

preview_player
Показать описание


In this video, Garth Schulte shows you how to use the pipeline operator ( | ) to send data from one PowerShell cmdlet to the next. He uses pipes to filter, sort, and select data retrieved from the cmdlets.

Pipeline operators are useful for a wide range of functions while using PowerShell. Garth also covers how to use the Get-Help to determine whether you can pipe data to the command line, and what values and attributes you can pipe.
Рекомендации по теме
Комментарии
Автор

dope video dude, missed class today and this is straight outta the book

matthew
Автор

Thank you so much! I'm a little intimidated by PowerShell cause I don't understand why the commands do what they do. This video makes me feel that one day I will get there.

Mclfarm
Автор

Great video. Dumb question from a VSCode newbie- My terminal window in VSCode creates "blocks" of color around the CLI text. Looks like Tetris. How do I get the darn CLI to look normal? It's not a Color Theme Preference issue that I can see. Thanks!

divebomb
Автор

So "notepad" is a string, since it has quotes. That means ByValue has to be accepted in the pipeline by the second command. If you remove the quotes around notepad it becomes a name, so the second command will use ByPropertyName. Does that sound right?

jjhatnm
Автор

Awesome, the link in the description is not working

vidsjust