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

SetServiceCommand: Add positional parameter attribute #5017

Merged
merged 2 commits into from
Oct 9, 2017
Merged

SetServiceCommand: Add positional parameter attribute #5017

merged 2 commits into from
Oct 9, 2017

Conversation

travisty-
Copy link
Contributor

Added a positional parameter attribute to the InputObject parameter,
giving Set-Service behavior similar to the other *-Service cmdlets.

Closes #4916.

Added a positional parameter attribute to the InputObject parameter,
giving Set-Service behavior similar to the other *-Service cmdlets.
@msftclas
Copy link

msftclas commented Oct 5, 2017

CLA assistant check
All CLA requirements met.

@adityapatwardhan
Copy link
Member

@travisty-
Copy link
Contributor Author

Hi @adityapatwardhan @daxian-dbw, tests have been added for this scenario.

@iSazonov
Copy link
Collaborator

iSazonov commented Oct 7, 2017

@travisty- Thanks for your contribution!

We should split formatting changes and code changes - this makes it easier to review and support code.
Please remove last commit and push only new test. We welcome improvements in formatting in a separate PR or commit.

Also if new test is under "Feature" CI tag please add [Feature] in header of your last commit to run the test in CI.

Added a test to Set-Service validating InputObjects passed positionally.
@travisty-
Copy link
Contributor Author

Thanks for the feedback @iSazonov. I'll submit the formatting improvements in a separate PR.

@adityapatwardhan adityapatwardhan merged commit 1d5c310 into PowerShell:master Oct 9, 2017
@travisty- travisty- deleted the feature/service-command-parameters branch October 9, 2017 17:02
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

Successfully merging this pull request may close these issues.

None yet

4 participants