Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enums in Parameters #5

Open
Jaykul opened this issue Sep 15, 2015 · 0 comments
Open

Enums in Parameters #5

Jaykul opened this issue Sep 15, 2015 · 0 comments

Comments

@Jaykul
Copy link
Owner

Jaykul commented Sep 15, 2015

Currently when I call a cmdlet through the API that takes enum values, the enum values show up as variables. E.g., when I call some command with an array of enum values:

Get-Something -Status @( ${Running}, ${Starting}, ${Finished})

What I want is:

Get-Something -Status @("Running", "Starting", "Finished")

Or maybe:

Get-Something -Status @([StatusType]::Running, [StatusType]::Starting, [StatusType]::Finished)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant