Here's the problem. To simplify a complex script, I have built a small menu.
- Quit
- User1
- User2
- ...
The list of users is dynamic (up to a maximum) defined as $counter. This dynamic list is composed of names from previous runs of the script (via being dotsourced). In addition to these users, I let the client type in names not defined in the subset, sort of a "Other" field.
PS PS:\> $counter
10
PS PS:\> $answer
8
PS PS:\> $answer -lt $counter
False
Why?? Why oh Why? Here's what I found..