GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix Set-Service -Status Stopped runs failed on the service with dependencies by zhenggu · Pull Request #5525 · PowerShell/PowerShell

Conversation

@zhenggu

@zhenggu Zheng Gu (zhenggu) commented Nov 22, 2017 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

PR Summary

Fixes #5517

In the previous version, if one service has dependency services, it cannot be stopped by "Set-Service -Stop", this PR fixes this issue.

And also add the Parameter "-Force" to Set-Service, when it is enabled, the function will stop it's dependent services, and then stop the target's service itself.

Without the parameter "-Force" it will raise a exception, if the service has running dependent services.

PR Checklist

  • PR has a meaningful title
    • Use the present tense and imperative mood when describing your changes
  • Summarized changes
  • Change is not breaking
  • Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
  • This PR is ready to merge and is not Work in Progress.
    • If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.
  • User-facing changes
    • User-facing Documentation needed
      • Issue filed - Issue link: Add "-Force" to Set-Service for PowerShell/PowerShell#5525 MicrosoftDocs/PowerShell-Docs#2858
  • Testing - New and feature
    • Make sure you've added a new test if existing tests do not effectively test the code changed
      • Add [feature] if the change is significant or affects feature tests

This change is Reviewable

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@zhenggu
Fix the Set-Service -Status Stopped issue when the service has depend…
b2103c1
…ents services And Parameter "Force" to Set-Service, when it is enabled, the function will stop it's dependent services, and then stop the target's service itself. (PowerShell#5517)
@zhenggu
Zheng Gu (zhenggu) requested review from Aditya Patwardhan (adityapatwardhan) and Dongbo Wang (daxian-dbw) as code owners November 22, 2017 08:23
@msftclas

Microsoft Contribution License Agreements (msftclas) commented Nov 22, 2017 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

iSazonov
Ilya (iSazonov) reviewed Nov 22, 2017
View reviewed changes

@iSazonov Ilya (iSazonov) left a comment

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Michael Klement (@mklement0) Could you please review the PR?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/Microsoft.PowerShell.Commands.Management/commands/management/Service.cs

if ((servicedependedon != null) && (servicedependedon.Length > 0))
{
WriteNonTerminatingError(service, null, "ServiceIsDependentOnNoForce", ServiceResources.ServiceIsDependentOnNoForce, ErrorCategory.InvalidOperation);

@iSazonov Ilya (iSazonov) Nov 22, 2017

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should remove the resource string from RESX file it is no longer used.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

adityapatwardhan reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread src/Microsoft.PowerShell.Commands.Management/commands/management/Service.cs Outdated
if (!service.Status.Equals(ServiceControllerStatus.Stopped))
{
//check for the dependent services as set-service dont have force parameter
//check for the dependent services

@iSazonov Ilya (iSazonov) Nov 22, 2017

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please correct the comment "// Check ...."

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Zheng Gu (zhenggu) added 2 commits November 22, 2017 19:10
@zhenggu
remove ServiceIsDependentOn for it is not used.
56d2b2b
@zhenggu
remove one blank
f802e93
@markekraus

Mark Kraus (markekraus) commented Nov 22, 2017

Copy link
Copy Markdown
Contributor

I'm curious if this is even the right direction. Doesn't Stop-Service -Force do this already? Shouldn't Set-Service only support a a very basic stop? The -Status on Set-Service is redundant to stop-service which should be the de facto way to stop services.

TravisEz13 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@iSazonov

Ilya (iSazonov) commented Nov 22, 2017

Copy link
Copy Markdown
Collaborator

We have a similar question in #5471

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@zhenggu

Zheng Gu (zhenggu) commented Nov 23, 2017

Copy link
Copy Markdown
Contributor Author

I think it is necessary to remove the ServicesDependedOn check for it will block the normal function. and for parameter "Force", we can discuss it in other thread, if the parameter may be not acceptable.

mklement0 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@iSazonov

Ilya (iSazonov) commented Nov 23, 2017

Copy link
Copy Markdown
Collaborator

Steve Lee (@SteveL-MSFT) Could you please review the PR with #5471 on PowerShell committee?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mklement0

Michael Klement (mklement0) commented Nov 23, 2017 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Yes, Set-Service -Status duplicates Start-Service / Resume-Service / Stop-Service / Suspend-Service functionality, but:

  • it is a one-stop solution with more of a desired-state feel.
  • it offers functionality that Start-Service doesn't have: if the target service's startup mode is currently Disabled, Start-Service invariably fails. By contrast, you can use Set-Service -StartupType Manual -State Running in such a case, for instance.

On the flip side, it currently doesn't support -Force in order to stop a service that have dependents - which I think should be fixed too.

As for the issue at hand:

Preventing a service from stopping because it depends on other services - as opposed to having other services depend on it (having dependents) - is an arbitrary and nonsensical restriction.

I presume it was introduced based on a misconception and should therefore be removed, which will make -Status Stopped work as expected, as long as the target service doesn't have dependents.

Ilya (@iSazonov): How is #5471 related to this?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@iSazonov

Ilya (iSazonov) commented Nov 23, 2017

Copy link
Copy Markdown
Collaborator

Michael Klement (@mklement0) Thanks for useful comments!

How is #5471 Start-Process: add parameter 'ExitTimeout' related to this?

Design review needed.

mklement0 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@markekraus

Mark Kraus (markekraus) commented Nov 23, 2017

Copy link
Copy Markdown
Contributor

Michael Klement (@mklement0)

it is a one-stop solution with more of a desired-state feel.

Yea, but stopping a service is NOT setting a service. We have specific verbs for that kind of action. if there is a current bug in how it operates, that should be fixed, but adding -force for set- to only affect the stop is ridiculous. We have the stop verb, use it for advanced stop functionality. If you can get away with basic stop on set, so be it, that's what stop is for. If I could go back in time I would say the set verb should not have had this functionality to begin with. if it did, then the stop verb should not have been included.

On your second point about start-service, I will say that set is also not start and including it originally is silly, IMO. The correction there is to add a -force to start if it is not already there that enables the service if it is not disabled and starts any services it depends on.

I'm just trying to keep things simple here and it seems like this PR is going in the wrong direction from simple. There is nothing wrong with doing something like set-service @params -PassThru | stop-service or set-service @params -PassThru | start-service. That keeps to the do one thing philosophy. increasing complexity in a command to do another thing when there is another command that does that one thing is an odd design choice. (setting aside any perceived convenience in doing so).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mklement0

Michael Klement (mklement0) commented Nov 23, 2017

Copy link
Copy Markdown
Contributor

I don't why it was decided to provide duplicate functionality in Set-Service, but given that it was:

  • fixing the bug is a must, as we agree.

  • however, not duplicating all the functionality seems silly, if adding -Force is all that it takes, especially given that, as demonstrated, in other aspects it can do more than one of its counterparts.
    (On a side note: status value suspended should probably be added as an alias for paused).

Adding a -Force switch to Start-Service is not a solution, because there is no sensible default for the startup type that invariably has to change in that case - unless you add -StartupType to Start-Service too, but that would then duplicate what Set-Service already does.

Yes, you can argue that the -Status parameter should never have been implemented, but, looking at the bigger picture, the Set verb has always had desired-state aspects in certain cmdlets, resulting in duplication as well; two examples:

  • You can use Set-Variable without ever having to touch New-Variable - the variable is created on demand.

  • You can use Set-Content to create a file on demand, without needing to use New-Item.

And, finally, another aspect in which Set-Service -Status provides extra (again, desired-state) functionality is that -Status Running either starts or resumes (continues) a service, as appropriate, whereas applying Start-Service to a suspended (paused) service results in an error.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@markekraus

Mark Kraus (markekraus) commented Nov 23, 2017 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

however, not duplicating all the functionality seems silly,

No, it doesn't at all. Set- is for setting, Stop- is for stopping. if the ability to stop on set- goes beyond anything basic, you should use stop-. The ability to stop on set- is a convenience that arguably should not be there (and I'm not advocating for its removal, for clarity).

Tell me, absent -Status Stopped, what purposed does -Force have? If I see -Force on Set-Service is expect it to allow me to force service settings. In this case, the only thing force is good for is stopping the service. We already have Stop-Service -Force for that. For desired state, you are not likely going to be forcing the service to stop. Again, this adds complexity and redundancy, and I'm arguing for simplicity.

Edit: as a compromise, if everyone really thinks that having set- force stop a service is not as crazy as I think it is, how about -Status StoppedForced or something instead of -Force switch that only works for a specific single value on a single parameter?

Adding a -Force switch to Start-Service is not a solution, because there is no sensible default for the startup type that invariably has to change in that case

I disagree, setting it to manual, when you are "manually" forcing the service to start certainly serves as a sensible setting. But this is a discussion for another time, lets not continue it in this thread.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@SteveL-MSFT

Steve Lee (SteveL-MSFT) commented Nov 23, 2017

Copy link
Copy Markdown
Member

Ilya (@iSazonov) committee is on taking time off this week for Thanksgiving (US holiday), will resume next week

iSazonov reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@TravisEz13 Travis Plunk (TravisEz13) added the Review - Committee The PR/Issue needs a review from the PowerShell Committee label Dec 7, 2017
@SteveL-MSFT

Steve Lee (SteveL-MSFT) commented Jan 4, 2018

Copy link
Copy Markdown
Member

@PowerShell/powershell-committee reviewed this. Given that -Status Stopped is already there, it would make sense to support -Force for Set-Service

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@SteveL-MSFT Steve Lee (SteveL-MSFT) added Committee-Reviewed PS-Committee has reviewed this and made a decision and removed Review - Committee The PR/Issue needs a review from the PowerShell Committee labels Jan 4, 2018
@daxian-dbw Dongbo Wang (daxian-dbw) assigned Aditya Patwardhan (adityapatwardhan) Feb 1, 2018
@daxian-dbw
Dongbo Wang (daxian-dbw) requested a review from Andrew (anmenaga) February 1, 2018 17:51
@adityapatwardhan Aditya Patwardhan (adityapatwardhan) changed the title Fix the Set-Service -Status Stopped issue #5517 Fix the Set-Service -Status Stopped issue Feb 1, 2018
@adityapatwardhan

Aditya Patwardhan (adityapatwardhan) commented Feb 1, 2018

Copy link
Copy Markdown
Member

Zheng Gu (@zhenggu) Please add tests at : https://github.com/PowerShell/PowerShell/blob/master/test/powershell/Modules/Microsoft.PowerShell.Management/Set-Service.Tests.ps1

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@markekraus

Mark Kraus (markekraus) commented Feb 9, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Steve Lee (@SteveL-MSFT) I would like the comittee to reconsider the approval of -Force for this PR. RE: #6113 (comment) and a few other discussions we have had here. The -Force in this PR not only applies to a single parameter, it also only applies to a single option for that parameter. I still believe including a ForceStopped or StoppedForced option for -Status is the better design choice and that we should avoid -Force abuse.

joandrsn reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@SteveL-MSFT Steve Lee (SteveL-MSFT) added Review - Committee The PR/Issue needs a review from the PowerShell Committee and removed Committee-Reviewed PS-Committee has reviewed this and made a decision labels Feb 10, 2018
@SteveL-MSFT

Steve Lee (SteveL-MSFT) commented Feb 21, 2018

Copy link
Copy Markdown
Member

@PowerShell/powershell-committee reviewed this. The only applicable parameter to -Force is -Status (when value is Stopped) and there's no applicability to other parameters for this cmdlet. The usage is consistent with other cmdlets like Stop-Service, so committee continues to recommend using -Force for this case.

mklement0 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@SteveL-MSFT Steve Lee (SteveL-MSFT) added the Committee-Reviewed PS-Committee has reviewed this and made a decision label Feb 21, 2018
@zhenggu
Add copyright for csharp files, divide one it statement to three ones
69d014c
@zhenggu

Zheng Gu (zhenggu) commented Aug 7, 2018

Copy link
Copy Markdown
Contributor Author

Travis Plunk (@TravisEz13) Please help to review again. Thanks.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

TravisEz13
Travis Plunk (TravisEz13) reviewed Aug 9, 2018
View reviewed changes

@TravisEz13 Travis Plunk (TravisEz13) left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 4 of 4 files at r13.
Reviewable status: :shipit: complete! all files reviewed

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
TravisEz13
Travis Plunk (TravisEz13) approved these changes Aug 10, 2018
View reviewed changes
@zhenggu

Zheng Gu (zhenggu) commented Aug 16, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Does this PR need another review?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@anmenaga

Andrew (anmenaga) commented Aug 21, 2018

Copy link
Copy Markdown

Aditya Patwardhan (@adityapatwardhan) This looks ready for merge.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@adityapatwardhan

Aditya Patwardhan (adityapatwardhan) commented Aug 22, 2018

Copy link
Copy Markdown
Member

Zheng Gu (@zhenggu) Thanks for your contribution. Please add the PR submission template and update the appropriate fields. https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission

The template is here: https://github.com/PowerShell/PowerShell/blob/master/.github/PULL_REQUEST_TEMPLATE.md

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@zhenggu

Zheng Gu (zhenggu) commented Aug 22, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Aditya Patwardhan (@adityapatwardhan) for this PR adds a "-Force" parameter for Set-Service, but I am not sure should I modify https://github.com/PowerShell/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Management/Set-Service.md before this PR merged or it should be changed after it this PR is merged?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@iSazonov

Ilya (iSazonov) commented Aug 23, 2018

Copy link
Copy Markdown
Collaborator

Zheng Gu (@zhenggu) Please open an issue or PR in PowerShell-Docs repo and add the link here.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@zhenggu

Zheng Gu (zhenggu) commented Aug 24, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Ilya (@iSazonov) Thanks, will add it

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Zheng Gu (zhenggu) added a commit to zhenggu/PowerShell-Docs that referenced this pull request Aug 27, 2018
@zhenggu
commit for PowerShell/PowerShell#5525
5f96427
@zhenggu Zheng Gu (zhenggu) mentioned this pull request Aug 27, 2018
Add "-Force" to Set-Service for PowerShell/PowerShell#5525 MicrosoftDocs/PowerShell-Docs#2858
Merged
2 of 9 tasks
@zhenggu

Zheng Gu (zhenggu) commented Aug 27, 2018

Copy link
Copy Markdown
Contributor Author

Aditya Patwardhan (@adityapatwardhan) have added the document, and all the actions are ready, please help to review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sean Wheeler (sdwheeler) pushed a commit to MicrosoftDocs/PowerShell-Docs that referenced this pull request Aug 27, 2018
@zhenggu @sdwheeler
commit for PowerShell/PowerShell#5525 (#2858)
ed77c7a
adityapatwardhan
Aditya Patwardhan (adityapatwardhan) approved these changes Aug 27, 2018
View reviewed changes
@adityapatwardhan
[Feature]
057e640
@adityapatwardhan

Aditya Patwardhan (adityapatwardhan) commented Aug 27, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Zheng Gu (@zhenggu) The tests are classified as Feature so I pushed an empty commit with [Feature] to run all tests. If all tests pass, I will go ahead and merge.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@adityapatwardhan

Aditya Patwardhan (adityapatwardhan) commented Aug 27, 2018

Copy link
Copy Markdown
Member

Zheng Gu (@zhenggu) Please have a look at the failures and for the next commit have [Feature] in your commit message to ensure all tests are executed. See this for more details.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Zheng Gu (zhenggu) added 2 commits August 28, 2018 10:31
@zhenggu
[Feature] fix one runtime issue
3379733
@zhenggu
[Feature] fix one runtime issue
da52a86
@zhenggu

Zheng Gu (zhenggu) commented Aug 28, 2018

Copy link
Copy Markdown
Contributor Author

Aditya Patwardhan (@adityapatwardhan), all test cases passed, please help to merge.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) merged commit 358e8ab into PowerShell:master Aug 28, 2018
@adityapatwardhan

Aditya Patwardhan (adityapatwardhan) commented Aug 28, 2018

Copy link
Copy Markdown
Member

Zheng Gu (@zhenggu) Thank you for your contribution!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Travis Plunk (TravisEz13) pushed a commit that referenced this pull request Aug 28, 2018
@zhenggu @TravisEz13
Fix Set-Service -Status Stopped to stop services with dependencies (#…
28c59a2
…5525)
@TravisEz13 Travis Plunk (TravisEz13) added this to the v6.1.0 milestone Aug 28, 2018
@zhenggu

Zheng Gu (zhenggu) commented Aug 28, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Thanks everyone's help to my first PR

adityapatwardhan reacted with hooray emoji
All reactions
  • 🎉 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@iSazonov

Ilya (iSazonov) commented Aug 29, 2018

Copy link
Copy Markdown
Collaborator

Zheng Gu (@zhenggu) Thanks for your contribution and patience! I hope you will continue.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Joey Aiello (joeyaiello) pushed a commit to MicrosoftDocs/PowerShell-Docs that referenced this pull request Sep 13, 2018
@zhenggu joeyaiello
commit for PowerShell/PowerShell#5525 (#2858)
5350915
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
@zhenggu @adityapatwardhan
Fix Set-Service -Status Stopped to stop services with dependencies (P…
21b927a
…owerShell#5525)
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
@zhenggu @TravisEz13
Fix Set-Service -Status Stopped to stop services with dependencies (P…
113a0e7
…owerShell#5525)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@iSazonov Ilya (iSazonov) iSazonov left review comments
@TravisEz13 Travis Plunk (TravisEz13) TravisEz13 approved these changes
@SteveL-MSFT Steve Lee (SteveL-MSFT) SteveL-MSFT approved these changes
@adityapatwardhan Aditya Patwardhan (adityapatwardhan) adityapatwardhan approved these changes
@daxian-dbw Dongbo Wang (daxian-dbw) Awaiting requested review from daxian-dbw
@anmenaga Andrew (anmenaga) Awaiting requested review from anmenaga
@dantraMSFT Dan Travison (dantraMSFT) Awaiting requested review from dantraMSFT

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@adityapatwardhan Aditya Patwardhan (adityapatwardhan)

Labels

Committee-Reviewed PS-Committee has reviewed this and made a decision

Projects

None yet

Milestone

v6.1.0

Development

Successfully merging this pull request may close these issues.

Set-Service -Status Stopped should not prevent stopping of services without dependents only because they depend on others

Uh oh!

There was an error while loading. Please reload this page.

9 participants

@zhenggu @msftclas @markekraus @iSazonov @mklement0 @SteveL-MSFT @adityapatwardhan @TravisEz13 @anmenaga
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.