Title: 'InvalidOperationException' in 'Stop-Service' command · Issue #11858 · PowerShell/PowerShell · GitHub
Open Graph Title: 'InvalidOperationException' in 'Stop-Service' command · Issue #11858 · PowerShell/PowerShell
X Title: 'InvalidOperationException' in 'Stop-Service' command · Issue #11858 · PowerShell/PowerShell
Description: To be fixed by #11851 Steps to reproduce None. See #11851 for better understanding. Expected behavior No exception will be thrown. Actual behavior An exception will be thrown if any previously started dependent service that could be stop...
Open Graph Description: To be fixed by #11851 Steps to reproduce None. See #11851 for better understanding. Expected behavior No exception will be thrown. Actual behavior An exception will be thrown if any previously star...
X Description: To be fixed by #11851 Steps to reproduce None. See #11851 for better understanding. Expected behavior No exception will be thrown. Actual behavior An exception will be thrown if any previously star...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/11858
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"'InvalidOperationException' in 'Stop-Service' command","articleBody":"To be fixed by #11851 \r\n\r\n# Steps to reproduce\r\n\r\nNone. See #11851 for better understanding.\r\n\r\n# Expected behavior\r\n\r\nNo exception will be thrown.\r\n\r\n# Actual behavior\r\n\r\nAn exception will be thrown if any previously started dependent service that could be stopped was not stopped after a service was forced to stop.\r\n\r\n-or-\r\n\r\nAn `InvalidOperationException` will be thrown if the `Status` of any of `ServiceController.DependentServices` whose `Status` was `Running` or `StartPending` and whose `CanStop` was `true` did not became `Stopped` or `StopPending` after a `Stop-Service` command was executed with the `-Force` flag for a service.\r\n\r\n# Environment data\r\n\r\nNone.\r\n\r\n---\r\n\r\nPlease start your discussion.","author":{"url":"https://github.com/nxtn","@type":"Person","name":"nxtn"},"datePublished":"2020-02-15T15:50:09Z","url":"https://github.com/PowerShell/PowerShell/issues/11858"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bbb5b363-9e9d-6b3f-27c3-95743732e98e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BCF6:2F2B64:172061:1F7E29:6AFD4DD0 |
| html-safe-nonce | 3b48b5fd1f038cd08dbc07bf81035d3fdfeb261b0826be15123bdbf3e189b68e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0Y2OjJGMkI2NDoxNzIwNjE6MUY3RTI5OjZBRkQ0REQwIiwidmlzaXRvcl9pZCI6IjUyNTMyNjA1NTk3OTIyOTUzNzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | aff42b8a917d0d73a7e1a0067a1487a3de96114e2bb7cd3bb9356bb0599271f0 |
| hovercard-subject-tag | issue:565767944 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/11858/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c22610322a1fadb91650bcdcfd3a4fc2714846091225e6354ab50ed0304b6221/PowerShell/PowerShell/issues/11858 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c22610322a1fadb91650bcdcfd3a4fc2714846091225e6354ab50ed0304b6221/PowerShell/PowerShell/issues/11858 |
| og:image:alt | To be fixed by #11851 Steps to reproduce None. See #11851 for better understanding. Expected behavior No exception will be thrown. Actual behavior An exception will be thrown if any previously star... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nxtn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width