The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Late4dinner (2) [Avatar] Offline
#1
Although I love the book, there is this little problem.

There is a section on page 71 titled "Collecting pipeline output as an array"

Unfortunately, what I can only assume was an editing error removed all references to pipelines. There are examples of assignments. but there are no examples at all of any pipeline operations in that section. Or in any of the rest of the sections on arrays.

Since, as one expert put it, "The most common operation resulting in an array in PowerShell is collecting the output from a pipeline." I am sure you will agree that an actual example using an actual pipeline really is to be expected here. In fact, I would like lots of pipeline examples. (Also this whole post goes for associative arrays too.)