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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.