| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:a28421c7-dee5-7b1b-af9a-f05d6fd4ef75 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8B58:3AE525:2F90CB:401C74:6AFCD2C8 |
| html-safe-nonce | f4c8e05170ad9495564d61aface1068e1e486a908835b859e36c9f091a5a184a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjU4OjNBRTUyNToyRjkwQ0I6NDAxQzc0OjZBRkNEMkM4IiwidmlzaXRvcl9pZCI6IjY5NzI1NzcwNTgzMzMxODQ3MTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 90ab9148795fd5ad200f0dc3224caddf27a86a84d6cebda4203b26a652662c61 |
| hovercard-subject-tag | pull_request:5240259151 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/28385/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/3fe2ff28b4766c38b94879aa5486fa0c2f00875060809e9e24f1ca4d37e8b26f/PowerShell/PowerShell/pull/28385 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3fe2ff28b4766c38b94879aa5486fa0c2f00875060809e9e24f1ca4d37e8b26f/PowerShell/PowerShell/pull/28385 |
| og:image:alt | PR Summary
This PR implements Get-Service, Start-Service, Stop-Service, and Restart-Service on Unix
(Linux and macOS), based on issue
Restart-Service should call systemctl restart on Linux OSes wi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | soroshsabz |
| hostname | github.com |
| expected-hostname | github.com |
| None | e3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d |
| turbo-cache-control | no-cache |
| 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 | 5410e4bebd3e45b138c853ecef3992279d86d5af |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/28385#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28385 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28385 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell |
| Reload | https://github.com/PowerShell/PowerShell/pull/28385 |
| Reload | https://github.com/PowerShell/PowerShell/pull/28385 |
| Reload | https://github.com/PowerShell/PowerShell/pull/28385 |
| PowerShell | https://github.com/PowerShell |
| PowerShell | https://github.com/PowerShell/PowerShell |
| Code | https://github.com/PowerShell/PowerShell |
| Issues1.3k (1.3k) | https://github.com/PowerShell/PowerShell/issues |
| Pull requests363 (363) | https://github.com/PowerShell/PowerShell/pulls |
| Discussions | https://github.com/PowerShell/PowerShell/discussions |
| Actions | https://github.com/PowerShell/PowerShell/actions |
| Projects | https://github.com/PowerShell/PowerShell/projects |
| Security and quality3 (3) | https://github.com/PowerShell/PowerShell/security |
| Insights | https://github.com/PowerShell/PowerShell/insights |
| https://github.com/PowerShell/PowerShell |
| soroshsabz | https://github.com/soroshsabz |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| soroshsabz:pr/unix-service-cmdlets | https://github.com/soroshsabz/PowerShell/tree/pr/unix-service-cmdlets |
| Conversation | https://github.com/PowerShell/PowerShell/pull/28385 |
| Commits12 (12) | https://github.com/PowerShell/PowerShell/pull/28385/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/28385/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/28385/files |
| Add Get-Service, Start-Service, Stop-Service and Restart-Service cmdlets on Unix | https://github.com/PowerShell/PowerShell/pull/28385#top |
| soroshsabz | https://github.com/soroshsabz |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| soroshsabz:pr/unix-service-cmdlets | https://github.com/soroshsabz/PowerShell/tree/pr/unix-service-cmdlets |
|
| https://github.com/soroshsabz |
| soroshsabz | https://github.com/soroshsabz |
| Nov 10, 2026 | https://github.com/PowerShell/PowerShell/pull/28385#issue-6305610011 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| Restart-Service should call systemctl restart on Linux OSes with SystemD present. #18863 | https://github.com/PowerShell/PowerShell/issues/18863 |
| #18863 (comment) | https://github.com/PowerShell/PowerShell/issues/18863#issuecomment-1662584949 |
| #18863 | https://github.com/PowerShell/PowerShell/issues/18863 |
| Document Unix platform support for Get/Start/Stop/Restart-Service MicrosoftDocs/PowerShell-Docs#13385 | https://github.com/MicrosoftDocs/PowerShell-Docs/issues/13385 |
| Document Unix platform support for Get/Start/Stop/Restart-Service (PowerShell 7.7) MicrosoftDocs/PowerShell-Docs#13383 | https://github.com/MicrosoftDocs/PowerShell-Docs/pull/13383 |
| PR has a meaningful title | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Summarized changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Draft Pull Request and mark it as Ready to Review when it is ready to merge | https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#draft-pull-requests |
| Breaking changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes |
| Experimental feature(s) needed | https://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.5/Microsoft.PowerShell.Core/About/about_Experimental_Features.md |
| Documentation needed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Document Unix platform support for Get/Start/Stop/Restart-Service MicrosoftDocs/PowerShell-Docs#13385 | https://github.com/MicrosoftDocs/PowerShell-Docs/issues/13385 |
| Make sure you've added a new test if existing tests do not effectively test the code changed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
|
| https://github.com/soroshsabz |
| Add Get/Start/Stop/Restart-Service cmdlets on Unix | https://github.com/PowerShell/PowerShell/pull/28385/commits/f4d99a67d045223002ce198fd8d6aa60f2c45424 |
| f4d99a6 | https://github.com/PowerShell/PowerShell/pull/28385/commits/f4d99a67d045223002ce198fd8d6aa60f2c45424 |
| PowerShell#18863 | https://github.com/PowerShell/PowerShell/issues/18863 |
| https://github.com/soroshsabz |
| soroshsabz | https://github.com/soroshsabz |
| code owner | https://github.com/PowerShell/PowerShell/blob/1aac7f5e38679b3c1469b67071a4c07f50cc064b/.github/CODEOWNERS#L7 |
| November 10, 2026 11:09 | https://github.com/PowerShell/PowerShell/pull/28385#event-35673183261 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| November 10, 2026 11:09 | https://github.com/PowerShell/PowerShell/pull/28385#event-35673184521 |
| https://github.com/apps/azure-pipelines |
| azure-pipelines | https://github.com/apps/azure-pipelines |
| Nov 10, 2026 | https://github.com/PowerShell/PowerShell/pull/28385#issuecomment-6765783943 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| https://github.com/soroshsabz |
| soroshsabz | https://github.com/soroshsabz |
|
Nov 10, 2026
| https://github.com/PowerShell/PowerShell/pull/28385#ref-pullrequest-6305646999 |
|
Document Unix platform support for Get/Start/Stop/Restart-Service (PowerShell 7.7)
MicrosoftDocs/PowerShell-Docs#13383
| https://github.com/MicrosoftDocs/PowerShell-Docs/pull/13383 |
| https://github.com/soroshsabz |
| soroshsabz | https://github.com/soroshsabz |
| Nov 10, 2026 | https://github.com/PowerShell/PowerShell/pull/28385#issuecomment-6765837165 |
| MicrosoftDocs/PowerShell-Docs#13383 | https://github.com/MicrosoftDocs/PowerShell-Docs/pull/13383 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| started reviewing | https://github.com/PowerShell/PowerShell/sessions/a664920b-9b70-47bc-a99d-83b5ff1679fe |
| soroshsabz | https://github.com/soroshsabz |
| November 10, 2026 11:26 | https://github.com/PowerShell/PowerShell/pull/28385#event-35674518048 |
|
View session
| https://github.com/PowerShell/PowerShell/sessions/a664920b-9b70-47bc-a99d-83b5ff1679fe |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
|
Nov 10, 2026
| https://github.com/PowerShell/PowerShell/pull/28385#pullrequestreview-5841085322 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/28385/files/f4d99a67d045223002ce198fd8d6aa60f2c45424 |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| https://github.com/PowerShell/PowerShell/pull/28385#pullrequestreview-5841085322 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| docs | https://gh.io/AA11tgch |
| For both SysV init (service) and OpenRC (rc-service), the argument order is typically… | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4524302637 |
| Since this exception type is intended to mirror the Windows shape and will be embedded in… | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4524302689 |
| When elevate is true, the process is not elevated, and sudo is not present (`SudoPath is… | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4524302726 |
| AddDefaultDisplayProperties unconditionally adds a PSStandardMember member set. If this helper… | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4524302762 |
| The tests cover enumeration/parsing for launchctl/service/rc-service fallbacks, but they don’t… | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4524302804 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceUnix.cs | https://github.com/PowerShell/PowerShell/pull/28385/files/f4d99a67d045223002ce198fd8d6aa60f2c45424#diff-9e39e32a4270ee1479210fc26e919cda36ea1fd665aa67d77dde701a2d710ea2 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceUnix.cs | https://github.com/PowerShell/PowerShell/pull/28385/files/f4d99a67d045223002ce198fd8d6aa60f2c45424#diff-9e39e32a4270ee1479210fc26e919cda36ea1fd665aa67d77dde701a2d710ea2 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceUnix.cs | https://github.com/PowerShell/PowerShell/pull/28385/files/f4d99a67d045223002ce198fd8d6aa60f2c45424#diff-9e39e32a4270ee1479210fc26e919cda36ea1fd665aa67d77dde701a2d710ea2 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceUnix.cs | https://github.com/PowerShell/PowerShell/pull/28385/files/f4d99a67d045223002ce198fd8d6aa60f2c45424#diff-9e39e32a4270ee1479210fc26e919cda36ea1fd665aa67d77dde701a2d710ea2 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| test/powershell/Modules/Microsoft.PowerShell.Management/Service.Tests.ps1 | https://github.com/PowerShell/PowerShell/pull/28385/files/f4d99a67d045223002ce198fd8d6aa60f2c45424#diff-a1cfb6d31de876a144f5ae738c95513eb9e8dc7d966ee3a73d7fac45f9b3e1b5 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
|
| https://github.com/soroshsabz |
| Address Copilot review comments | https://github.com/PowerShell/PowerShell/pull/28385/commits/d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2 |
| d52bdec | https://github.com/PowerShell/PowerShell/pull/28385/commits/d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2 |
| https://github.com/soroshsabz |
| soroshsabz | https://github.com/soroshsabz |
| force-pushed | https://github.com/PowerShell/PowerShell/compare/60c00e157ab290d8b4c6914a7bae431ec80cf08b..d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2 |
| 60c00e1 | https://github.com/PowerShell/PowerShell/commit/60c00e157ab290d8b4c6914a7bae431ec80cf08b |
| d52bdec | https://github.com/PowerShell/PowerShell/commit/d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2 |
|
Compare
| https://github.com/PowerShell/PowerShell/compare/60c00e157ab290d8b4c6914a7bae431ec80cf08b..d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2 |
| November 10, 2026 15:24 | https://github.com/PowerShell/PowerShell/pull/28385#event-35696919888 |
| https://github.com/soroshsabz |
| soroshsabz | https://github.com/soroshsabz |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| November 10, 2026 15:34 | https://github.com/PowerShell/PowerShell/pull/28385#event-35697945714 |
| started reviewing | https://github.com/PowerShell/PowerShell/sessions/919a3467-73f1-4d4a-b73a-48172a2b3bf6 |
| soroshsabz | https://github.com/soroshsabz |
| November 10, 2026 15:36 | https://github.com/PowerShell/PowerShell/pull/28385#event-35698086262 |
|
View session
| https://github.com/PowerShell/PowerShell/sessions/919a3467-73f1-4d4a-b73a-48172a2b3bf6 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
|
Nov 10, 2026
| https://github.com/PowerShell/PowerShell/pull/28385#pullrequestreview-5844719933 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/28385/files/d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2 |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| https://github.com/PowerShell/PowerShell/pull/28385#pullrequestreview-5844719933 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Use rc-status to enumerate OpenRC services | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008457 |
| Remove system sudo from PATH in missing-sudo test | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008606 |
| Retain all matching operation entries in tests | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008693 |
| For both SysV init (service) and OpenRC (rc-service), the argument order is typically… | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4524302637 |
| The tests cover enumeration/parsing for launchctl/service/rc-service fallbacks, but they don’t… | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4524302804 |
| AddDefaultDisplayProperties unconditionally adds a PSStandardMember member set. If this helper… | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4524302762 |
| When elevate is true, the process is not elevated, and sudo is not present (`SudoPath is… | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4524302726 |
| Since this exception type is intended to mirror the Windows shape and will be embedded in… | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4524302689 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceUnix.cs | https://github.com/PowerShell/PowerShell/pull/28385/files/d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2#diff-9e39e32a4270ee1479210fc26e919cda36ea1fd665aa67d77dde701a2d710ea2 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| test/powershell/Modules/Microsoft.PowerShell.Management/Service.Tests.ps1 | https://github.com/PowerShell/PowerShell/pull/28385/files/d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2#diff-a1cfb6d31de876a144f5ae738c95513eb9e8dc7d966ee3a73d7fac45f9b3e1b5 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| test/powershell/Modules/Microsoft.PowerShell.Management/Service.Tests.ps1 | https://github.com/PowerShell/PowerShell/pull/28385/files/d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2#diff-a1cfb6d31de876a144f5ae738c95513eb9e8dc7d966ee3a73d7fac45f9b3e1b5 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| soroshsabz | https://github.com/soroshsabz |
| November 10, 2026 19:15 | https://github.com/PowerShell/PowerShell/pull/28385#commits-pushed-45eea3c |
|
| https://github.com/soroshsabz |
| Refactor for static analysis: extract per-manager helpers and line pa… | https://github.com/PowerShell/PowerShell/pull/28385/commits/45eea3c9740257e1b61a0bfca17ee605fa8ae8f6 |
| 45eea3c | https://github.com/PowerShell/PowerShell/pull/28385/commits/45eea3c9740257e1b61a0bfca17ee605fa8ae8f6 |
|
| https://github.com/soroshsabz |
| Make UnixServiceController.cs StyleCop-default clean for CodeFactor | https://github.com/PowerShell/PowerShell/pull/28385/commits/457eee5a154690dc081230c3be5cf1123cb1c364 |
| 457eee5 | https://github.com/PowerShell/PowerShell/pull/28385/commits/457eee5a154690dc081230c3be5cf1123cb1c364 |
|
| https://github.com/soroshsabz |
| Split UnixServiceController.cs into one type per file (SA1402) | https://github.com/PowerShell/PowerShell/pull/28385/commits/a8d7b683dc040338f3edf8df0621a4e0ecaa2fff |
| a8d7b68 | https://github.com/PowerShell/PowerShell/pull/28385/commits/a8d7b683dc040338f3edf8df0621a4e0ecaa2fff |
| https://github.com/soroshsabz |
| soroshsabz | https://github.com/soroshsabz |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| November 11, 2026 06:38 | https://github.com/PowerShell/PowerShell/pull/28385#event-35768744996 |
| started reviewing | https://github.com/PowerShell/PowerShell/sessions/da8cc080-a950-4a60-8e90-523911fb34f8 |
| soroshsabz | https://github.com/soroshsabz |
| November 11, 2026 06:40 | https://github.com/PowerShell/PowerShell/pull/28385#event-35768826311 |
|
View session
| https://github.com/PowerShell/PowerShell/sessions/da8cc080-a950-4a60-8e90-523911fb34f8 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
|
Nov 11, 2026
| https://github.com/PowerShell/PowerShell/pull/28385#pullrequestreview-5854898044 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/28385/files/457eee5a154690dc081230c3be5cf1123cb1c364 |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| https://github.com/PowerShell/PowerShell/pull/28385#pullrequestreview-5854898044 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Restrict PATH when testing missing sudo | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4534834182 |
| Retain all logged operations in the non-root test | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4534834239 |
| Use rc-status to enumerate OpenRC services | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008457 |
| Retain all matching operation entries in tests | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008693 |
| Remove system sudo from PATH in missing-sudo test | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008606 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| test/powershell/Modules/Microsoft.PowerShell.Management/Service.Tests.ps1 | https://github.com/PowerShell/PowerShell/pull/28385/files/457eee5a154690dc081230c3be5cf1123cb1c364#diff-a1cfb6d31de876a144f5ae738c95513eb9e8dc7d966ee3a73d7fac45f9b3e1b5 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| test/powershell/Modules/Microsoft.PowerShell.Management/Service.Tests.ps1 | https://github.com/PowerShell/PowerShell/pull/28385/files/457eee5a154690dc081230c3be5cf1123cb1c364#diff-a1cfb6d31de876a144f5ae738c95513eb9e8dc7d966ee3a73d7fac45f9b3e1b5 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| soroshsabz | https://github.com/soroshsabz |
| November 11, 2026 10:24 | https://github.com/PowerShell/PowerShell/pull/28385#commits-pushed-3ee3ab6 |
|
| https://github.com/soroshsabz |
| OpenRC enumeration via rc-status; harden sudo-missing and fallback te… | https://github.com/PowerShell/PowerShell/pull/28385/commits/3ee3ab62b452373190ada6b5b1cc08624b02da68 |
| 3ee3ab6 | https://github.com/PowerShell/PowerShell/pull/28385/commits/3ee3ab62b452373190ada6b5b1cc08624b02da68 |
|
| https://github.com/soroshsabz |
| Remove #region markers (SA1124) | https://github.com/PowerShell/PowerShell/pull/28385/commits/34ce9db2e5891923ce667475a924060f81e0c186 |
| 34ce9db | https://github.com/PowerShell/PowerShell/pull/28385/commits/34ce9db2e5891923ce667475a924060f81e0c186 |
| https://github.com/soroshsabz |
| soroshsabz | https://github.com/soroshsabz |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| November 11, 2026 16:13 | https://github.com/PowerShell/PowerShell/pull/28385#event-35818240374 |
| started reviewing | https://github.com/PowerShell/PowerShell/sessions/c820726b-dc0b-4ca0-86bd-dad5dc6953de |
| soroshsabz | https://github.com/soroshsabz |
| November 11, 2026 16:28 | https://github.com/PowerShell/PowerShell/pull/28385#event-35819673881 |
|
View session
| https://github.com/PowerShell/PowerShell/sessions/c820726b-dc0b-4ca0-86bd-dad5dc6953de |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
|
Nov 11, 2026
| https://github.com/PowerShell/PowerShell/pull/28385#pullrequestreview-5862127981 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186 |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| https://github.com/PowerShell/PowerShell/pull/28385#pullrequestreview-5862127981 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Restrict service suffix handling to systemd | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581347 |
| Preserve case-sensitive native service identity | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581422 |
| Check systemd for exact-name unit instances | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581460 |
| Load service descriptions before display-name filtering | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581508 |
| Capture the process reference before cancellation checks | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581565 |
| Discover launchd jobs' actual domains | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581611 |
| Prevent KeepAlive jobs from relaunching on stop | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581666 |
| Suppress systemd failure markers when listing units | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581712 |
| Query actual service state for PassThru results | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581778 |
| Map disabled systemd units to Manual | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581844 |
| Retain all logged operations in the non-root test | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4534834239 |
| Restrict PATH when testing missing sudo | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4534834182 |
| Use rc-status to enumerate OpenRC services | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008457 |
| Retain all matching operation entries in tests | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008693 |
| Remove system sudo from PATH in missing-sudo test | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008606 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/MultipleServiceCommandBase.cs | https://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-29261f9eb057356fb19195e9447b4f77dd1c067373df3d6c8600163030cb661a |
| soroshsabz | https://github.com/soroshsabz |
| Nov 11, 2026 | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541274545 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 0637796 | https://github.com/PowerShell/PowerShell/commit/06377961a9fc06dfbb3aeb35bab75067bb94b49d |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/MultipleServiceCommandBase.cs | https://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-29261f9eb057356fb19195e9447b4f77dd1c067373df3d6c8600163030cb661a |
| soroshsabz | https://github.com/soroshsabz |
| Nov 11, 2026 | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541274121 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 0483d24 | https://github.com/PowerShell/PowerShell/commit/0483d24f07142d0653baadbf684924b133901ba9 |
| 0637796 | https://github.com/PowerShell/PowerShell/commit/06377961a9fc06dfbb3aeb35bab75067bb94b49d |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/MultipleServiceCommandBase.cs | https://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-29261f9eb057356fb19195e9447b4f77dd1c067373df3d6c8600163030cb661a |
| soroshsabz | https://github.com/soroshsabz |
| Nov 11, 2026 | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541273697 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/MultipleServiceCommandBase.cs | https://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-29261f9eb057356fb19195e9447b4f77dd1c067373df3d6c8600163030cb661a |
| soroshsabz | https://github.com/soroshsabz |
| Nov 11, 2026 | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541273231 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceBaseCommand.cs | https://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-13636611a3f733447e18b2907c20bc838900ceacb0d0d09b2890a34997bec3ee |
| soroshsabz | https://github.com/soroshsabz |
| Nov 11, 2026 | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541272730 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceBaseCommand.cs | https://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-13636611a3f733447e18b2907c20bc838900ceacb0d0d09b2890a34997bec3ee |
| soroshsabz | https://github.com/soroshsabz |
| Nov 11, 2026 | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541272390 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceBaseCommand.cs | https://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-13636611a3f733447e18b2907c20bc838900ceacb0d0d09b2890a34997bec3ee |
| soroshsabz | https://github.com/soroshsabz |
| Nov 11, 2026 | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541271950 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceBaseCommand.cs | https://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-13636611a3f733447e18b2907c20bc838900ceacb0d0d09b2890a34997bec3ee |
| soroshsabz | https://github.com/soroshsabz |
| Nov 11, 2026 | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541271517 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 0637796 | https://github.com/PowerShell/PowerShell/commit/06377961a9fc06dfbb3aeb35bab75067bb94b49d |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceOperationBaseCommand.cs | https://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-547357d5dae5b01722a8e5e00a907bd4989a383aec88e06537eae31527239ece |
| soroshsabz | https://github.com/soroshsabz |
| Nov 11, 2026 | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541271102 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/UnixServiceParser.cs | https://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-53b294e07550a4545d9f2a5f2d0b1ed26a169307054d62f8b1f073d61d69163f |
| soroshsabz | https://github.com/soroshsabz |
| Nov 11, 2026 | https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541270648 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 0483d24 | https://github.com/PowerShell/PowerShell/commit/0483d24f07142d0653baadbf684924b133901ba9 |
| 0637796 | https://github.com/PowerShell/PowerShell/commit/06377961a9fc06dfbb3aeb35bab75067bb94b49d |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| soroshsabz | https://github.com/soroshsabz |
| November 11, 2026 21:01 | https://github.com/PowerShell/PowerShell/pull/28385#commits-pushed-a14dbb4 |
|
| https://github.com/soroshsabz |
| Reuse master Service.cs for Unix service cmdlets | https://github.com/PowerShell/PowerShell/pull/28385/commits/a14dbb4b117e157ad0a85732437c18702f64e620 |
| a14dbb4 | https://github.com/PowerShell/PowerShell/pull/28385/commits/a14dbb4b117e157ad0a85732437c18702f64e620 |
|
| https://github.com/soroshsabz |
| Fix end-of-file newline in Service.cs | https://github.com/PowerShell/PowerShell/pull/28385/commits/df8a97de71ba04fe4d39dc32d357500324fc8dae |
| df8a97d | https://github.com/PowerShell/PowerShell/pull/28385/commits/df8a97de71ba04fe4d39dc32d357500324fc8dae |
|
| https://github.com/soroshsabz |
| Assert the exact enumeration failure error id | https://github.com/PowerShell/PowerShell/pull/28385/commits/ac69b7229afb7e22c8ce682986af72246c7eecb0 |
| ac69b72 | https://github.com/PowerShell/PowerShell/pull/28385/commits/ac69b7229afb7e22c8ce682986af72246c7eecb0 |
|
| https://github.com/soroshsabz |
| Address Copilot review round: --plain, start mode semantics, name mat… | https://github.com/PowerShell/PowerShell/pull/28385/commits/06377961a9fc06dfbb3aeb35bab75067bb94b49d |
| 0637796 | https://github.com/PowerShell/PowerShell/pull/28385/commits/06377961a9fc06dfbb3aeb35bab75067bb94b49d |
|
| https://github.com/soroshsabz |
| Use ordinal name comparisons in the Unix service parser | https://github.com/PowerShell/PowerShell/pull/28385/commits/0483d24f07142d0653baadbf684924b133901ba9 |
| 0483d24 | https://github.com/PowerShell/PowerShell/pull/28385/commits/0483d24f07142d0653baadbf684924b133901ba9 |
| https://github.com/soroshsabz |
| soroshsabz | https://github.com/soroshsabz |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| November 11, 2026 20:39 | https://github.com/PowerShell/PowerShell/pull/28385#event-35841570498 |
| https://github.com/soroshsabz |
| soroshsabz | https://github.com/soroshsabz |
|
Nov 11, 2026
| https://github.com/PowerShell/PowerShell/pull/28385#ref-issue-6336876008 |
|
Document Unix platform support for Get/Start/Stop/Restart-Service
MicrosoftDocs/PowerShell-Docs#13385
| https://github.com/MicrosoftDocs/PowerShell-Docs/issues/13385 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
|
Nov 11, 2026
| https://github.com/PowerShell/PowerShell/pull/28385#pullrequestreview-5865989226 |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| https://github.com/PowerShell/PowerShell/pull/28385#pullrequestreview-5865989226 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Read the docs | https://gh.io/AA11tgch |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28385 |
|
Copilot code review
| https://github.com/apps/copilot-pull-request-reviewer |
|
Copilot
| https://github.com/apps/copilot-pull-request-reviewer |
| Learn more about Copilot code review. | https://gh.io/copilot-code-review-docs |
|
| https://github.com/PowerShell/PowerShell/pull/28385/files/0483d24f07142d0653baadbf684924b133901ba9 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
|
Restart-Service should call systemctl restart on Linux OSes with SystemD present.
| https://github.com/PowerShell/PowerShell/issues/18863 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28385 |
|
| https://github.com/soroshsabz |
|
| https://github.com/apps/copilot-pull-request-reviewer |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |