-
Notifications
You must be signed in to change notification settings - Fork 8.3k
$PSBoundParameters for [switch] integers #19580
Copy link
Copy link
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugNeeds-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or more
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugNeeds-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or more
Summary of the new feature / enhancement
Add possibility for integers as switch parameters.
For example I want to use switch parameters like
-8,-16,-256in script.But I get the error:
That is,
-8is interpreted as an argumentThe workaround:
But it would be better if the names of switch (and not only) parameters of this kind were perceived as they are. Literally.
Proposed technical implementation details (optional)
No response