I almost wish I had stumbled on this before. Microsoft has published an â€œOwners Manualâ€ for PowerShell. You know, that little book in the back of your glove box? Yeah, only this one is uber useful, and while not PowerCLI specific, will make your life as a VI admin, and Windows admin that much nicer.
From the pipelining section:
Piping and the Pipeline
Itâ€™s inevitable: no sooner do you get Windows PowerShell installed then you start hearing about and reading about â€œpipingâ€ and â€œthe pipeline.â€ In turn, that leads to two questions: 1) Whatâ€™s a pipeline?, and 2) Do I even need to know about piping and pipelines?
Letâ€™s answer the second question first: Do you even need to know about piping and pipelines? Yes, you do. Thereâ€™s no doubt that you can write Windows PowerShell scripts without using pipelines. The question, however, is whether youâ€™d want to write PowerShell scripts without using pipelines. You can order a banana split and ask them to hold the ice cream; thatâ€™s fine, but at that point you donâ€™t really have a banana split, do you? The same is true of the PowerShell pipeline: you can write scripts without a pipeline. But, at that point, do you really have
Well worth a read.