Tag object
How to Use PipelineVariable
Put your hands up, have you ever bumped into the -PipelineVariable parameter in PowerShell cmdlets and wondered what it stood for? I have. But you use tab-completion when you are feeling lazy or want to get something done in a blink. Both these situations are not conductive to experimentation. What is a pipeline Think of cmdlets as little machine parts. Each takes an input, processes it and gives an output. You start with something raw, place it in the first machine, which processes it and gives you the output.
Piping Commands in PowerShell
We used the pipeline in our past posts. However, we did look into what they are and what they do. If you have had experience with Linux (or Bash in general), there is a good chance you know that the pipeline simply passes the output of a certain command to the command to its right. In this article, we discuss all about pipelines: Understanding the pipeline Using the pipeline to select properties Filtering the output based on a parameter How PowerShell outputs content Formatting the output Only in the end Wrapping up Understanding the pipeline Metaphorically speaking, think of a cmdlet as a machine.
The object-oriented model
The moment someone mentions PowerShell or talks about its benefits, one of the first things that comes to people’s minds is how the output is an object. And most of us don’t understand why this should be a big deal that it is made out to be. Or what it even means. I’ve been there, and it took me some time to fully understand its importance. In this article, we talk about:
A brief history of Windows
Among all the jazz of ClearType fonts and graphics, we often take for granted what is actually some serious task—running the hardware of a computer. Ever wondered how different the actual working of a computer is, compared to what we see on the screen? In reality, it’s overwhelmingly difficult to imagine how computers work, especially today. It’s hard to believe that two voltage-based states of a bunch of transistors and gates are able to show to us what we see on the screen.