MicroNugget: How the PowerShell Pipeline Operator Works
Not a subscriber? Start your free week. cbt.gg/2I5NxY1
Watch the entire course: cbt.gg/3C1iEia
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.
Пікірлер: 8
That last statement did it for me. Thanks!
dope video dude, missed class today and this is straight outta the book
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.
Ty
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?
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!
Awesome, the link in the description is not working
@cbtnuggets
3 жыл бұрын
Thank you for catching that. Please try the updated link!