Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

SetServiceCommand: Add positional parameter attribute#5017

Merged
adityapatwardhan merged 2 commits into
PowerShell:masterPowerShell/PowerShell:masterfrom
travisty-:feature/service-command-parametersCopy head branch name to clipboard
Oct 9, 2017
Merged

SetServiceCommand: Add positional parameter attribute#5017
adityapatwardhan merged 2 commits into
PowerShell:masterPowerShell/PowerShell:masterfrom
travisty-:feature/service-command-parametersCopy head branch name to clipboard

Conversation

@travisty-

Copy link
Copy Markdown
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

msftclas commented Oct 5, 2017

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

@adityapatwardhan

Copy link
Copy Markdown
Member

@travisty-

Copy link
Copy Markdown
Contributor Author

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

@iSazonov

iSazonov commented Oct 7, 2017

Copy link
Copy Markdown
Collaborator

@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
Copy Markdown
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.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.