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

add v3,v4 for headerversion #3

Open
ionTomorrow opened this issue Apr 9, 2021 · 1 comment
Open

add v3,v4 for headerversion #3

ionTomorrow opened this issue Apr 9, 2021 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed invalid This doesn't seem right

Comments

@ionTomorrow
Copy link
Owner

No description provided.

@ionTomorrow ionTomorrow added the enhancement New feature or request label Apr 9, 2021
@ionTomorrow ionTomorrow self-assigned this Apr 9, 2021
@bdeyo-vmware bdeyo-vmware added bug Something isn't working help wanted Extra attention is needed invalid This doesn't seem right labels Aug 23, 2021
@bdeyo-vmware
Copy link
Collaborator

Adding the version as a DynamicParam is possible, and would allow a single function i.e. set-ws1device to have different input parameters based off the value of the -ws1ApiVersion parameter. see this for more details: https://jeffbrown.tech/tips-and-tricks-to-using-powershell-dynamic-parameters/

However... doing so would be a very heavy code increase if this needed to be done for every function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants