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)
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:
What I want is:
Or maybe: