Sometimes using ValidateSet isn't enough -- for instance, when you have multiple functions with the same parameter that you need to perform a task on. PowerShell has a data type called an enum, which ...
I picked up adding a few meta values to enums a long time ago; I feel they make bounds checking and writing for loops more readable. But gcc has been giving me some grief about it in one way, here's ...