Chapter 13. Using and “abusing” dynamic parameters

Bartosz Bielawski

In our lives we make choices all the time; some choices are obligatory, but sometimes they’re optional. Imagine you’re buying a bike. You need to customize it, and although some choices are “static,” such as selecting the frame or the wheels, some aren’t. For example, you’d consider stabilizers only if you were looking for a bike for a small child. At a bike shop a salesperson probably wouldn’t start a conversation about your purchase of a new bike with the question: “Which stabilizers do you prefer: ones with Spiderman or ones with Lightning McQueen?” But if you mention that you’re looking for a bike for your little son, these questions would seem natural. Dynamic parameters ...

Get PowerShell Deep Dives now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.