René's URL Explorer Experiment


Title: Add Get-Service, Start-Service, Stop-Service and Restart-Service cmdlets on Unix by soroshsabz · Pull Request #28385 · PowerShell/PowerShell · GitHub

Open Graph Title: Add Get-Service, Start-Service, Stop-Service and Restart-Service cmdlets on Unix by soroshsabz · Pull Request #28385 · PowerShell/PowerShell

X Title: Add Get-Service, Start-Service, Stop-Service and Restart-Service cmdlets on Unix by soroshsabz · Pull Request #28385 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/28385

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:a28421c7-dee5-7b1b-af9a-f05d6fd4ef75
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8B58:3AE525:2F90CB:401C74:6AFCD2C8
html-safe-noncef4c8e05170ad9495564d61aface1068e1e486a908835b859e36c9f091a5a184a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjU4OjNBRTUyNToyRjkwQ0I6NDAxQzc0OjZBRkNEMkM4IiwidmlzaXRvcl9pZCI6IjY5NzI1NzcwNTgzMzMxODQ3MTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac90ab9148795fd5ad200f0dc3224caddf27a86a84d6cebda4203b26a652662c61
hovercard-subject-tagpull_request:5240259151
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/28385/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3fe2ff28b4766c38b94879aa5486fa0c2f00875060809e9e24f1ca4d37e8b26f/PowerShell/PowerShell/pull/28385
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3fe2ff28b4766c38b94879aa5486fa0c2f00875060809e9e24f1ca4d37e8b26f/PowerShell/PowerShell/pull/28385
og:image:altPR 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesoroshsabz
hostnamegithub.com
expected-hostnamegithub.com
Nonee3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5410e4bebd3e45b138c853ecef3992279d86d5af
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/28385#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28385
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28385
Sign uphttps://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
Reloadhttps://github.com/PowerShell/PowerShell/pull/28385
Reloadhttps://github.com/PowerShell/PowerShell/pull/28385
Reloadhttps://github.com/PowerShell/PowerShell/pull/28385
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests363 (363)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
soroshsabzhttps://github.com/soroshsabz
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
soroshsabz:pr/unix-service-cmdletshttps://github.com/soroshsabz/PowerShell/tree/pr/unix-service-cmdlets
Conversationhttps://github.com/PowerShell/PowerShell/pull/28385
Commits12 (12)https://github.com/PowerShell/PowerShell/pull/28385/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/28385/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/28385/files
Add Get-Service, Start-Service, Stop-Service and Restart-Service cmdlets on Unixhttps://github.com/PowerShell/PowerShell/pull/28385#top
soroshsabzhttps://github.com/soroshsabz
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
soroshsabz:pr/unix-service-cmdletshttps://github.com/soroshsabz/PowerShell/tree/pr/unix-service-cmdlets
https://github.com/soroshsabz
soroshsabzhttps://github.com/soroshsabz
Nov 10, 2026https://github.com/PowerShell/PowerShell/pull/28385#issue-6305610011
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
Restart-Service should call systemctl restart on Linux OSes with SystemD present. #18863https://github.com/PowerShell/PowerShell/issues/18863
#18863 (comment)https://github.com/PowerShell/PowerShell/issues/18863#issuecomment-1662584949
#18863https://github.com/PowerShell/PowerShell/issues/18863
Document Unix platform support for Get/Start/Stop/Restart-Service MicrosoftDocs/PowerShell-Docs#13385https://github.com/MicrosoftDocs/PowerShell-Docs/issues/13385
Document Unix platform support for Get/Start/Stop/Restart-Service (PowerShell 7.7) MicrosoftDocs/PowerShell-Docs#13383https://github.com/MicrosoftDocs/PowerShell-Docs/pull/13383
PR has a meaningful titlehttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Summarized changeshttps://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 headerhttps://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 mergehttps://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#draft-pull-requests
Breaking changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes
Experimental feature(s) neededhttps://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.5/Microsoft.PowerShell.Core/About/about_Experimental_Features.md
Documentation neededhttps://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#13385https://github.com/MicrosoftDocs/PowerShell-Docs/issues/13385
Make sure you've added a new test if existing tests do not effectively test the code changedhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
https://github.com/soroshsabz
Add Get/Start/Stop/Restart-Service cmdlets on Unixhttps://github.com/PowerShell/PowerShell/pull/28385/commits/f4d99a67d045223002ce198fd8d6aa60f2c45424
f4d99a6https://github.com/PowerShell/PowerShell/pull/28385/commits/f4d99a67d045223002ce198fd8d6aa60f2c45424
PowerShell#18863https://github.com/PowerShell/PowerShell/issues/18863
https://github.com/soroshsabz
soroshsabzhttps://github.com/soroshsabz
code ownerhttps://github.com/PowerShell/PowerShell/blob/1aac7f5e38679b3c1469b67071a4c07f50cc064b/.github/CODEOWNERS#L7
November 10, 2026 11:09https://github.com/PowerShell/PowerShell/pull/28385#event-35673183261
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
November 10, 2026 11:09https://github.com/PowerShell/PowerShell/pull/28385#event-35673184521
https://github.com/apps/azure-pipelines
azure-pipelineshttps://github.com/apps/azure-pipelines
Nov 10, 2026https://github.com/PowerShell/PowerShell/pull/28385#issuecomment-6765783943
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
https://github.com/soroshsabz
soroshsabzhttps://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
soroshsabzhttps://github.com/soroshsabz
Nov 10, 2026https://github.com/PowerShell/PowerShell/pull/28385#issuecomment-6765837165
MicrosoftDocs/PowerShell-Docs#13383https://github.com/MicrosoftDocs/PowerShell-Docs/pull/13383
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
started reviewinghttps://github.com/PowerShell/PowerShell/sessions/a664920b-9b70-47bc-a99d-83b5ff1679fe
soroshsabzhttps://github.com/soroshsabz
November 10, 2026 11:26https://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
Copilothttps://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
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PowerShell/pull/28385#pullrequestreview-5841085322
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
docshttps://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 pagehttps://github.com/PowerShell/PowerShell/pull/28385
src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceUnix.cshttps://github.com/PowerShell/PowerShell/pull/28385/files/f4d99a67d045223002ce198fd8d6aa60f2c45424#diff-9e39e32a4270ee1479210fc26e919cda36ea1fd665aa67d77dde701a2d710ea2
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceUnix.cshttps://github.com/PowerShell/PowerShell/pull/28385/files/f4d99a67d045223002ce198fd8d6aa60f2c45424#diff-9e39e32a4270ee1479210fc26e919cda36ea1fd665aa67d77dde701a2d710ea2
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceUnix.cshttps://github.com/PowerShell/PowerShell/pull/28385/files/f4d99a67d045223002ce198fd8d6aa60f2c45424#diff-9e39e32a4270ee1479210fc26e919cda36ea1fd665aa67d77dde701a2d710ea2
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceUnix.cshttps://github.com/PowerShell/PowerShell/pull/28385/files/f4d99a67d045223002ce198fd8d6aa60f2c45424#diff-9e39e32a4270ee1479210fc26e919cda36ea1fd665aa67d77dde701a2d710ea2
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
test/powershell/Modules/Microsoft.PowerShell.Management/Service.Tests.ps1https://github.com/PowerShell/PowerShell/pull/28385/files/f4d99a67d045223002ce198fd8d6aa60f2c45424#diff-a1cfb6d31de876a144f5ae738c95513eb9e8dc7d966ee3a73d7fac45f9b3e1b5
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
https://github.com/soroshsabz
Address Copilot review commentshttps://github.com/PowerShell/PowerShell/pull/28385/commits/d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2
d52bdechttps://github.com/PowerShell/PowerShell/pull/28385/commits/d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2
https://github.com/soroshsabz
soroshsabzhttps://github.com/soroshsabz
force-pushedhttps://github.com/PowerShell/PowerShell/compare/60c00e157ab290d8b4c6914a7bae431ec80cf08b..d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2
60c00e1https://github.com/PowerShell/PowerShell/commit/60c00e157ab290d8b4c6914a7bae431ec80cf08b
d52bdechttps://github.com/PowerShell/PowerShell/commit/d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2
Compare https://github.com/PowerShell/PowerShell/compare/60c00e157ab290d8b4c6914a7bae431ec80cf08b..d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2
November 10, 2026 15:24https://github.com/PowerShell/PowerShell/pull/28385#event-35696919888
https://github.com/soroshsabz
soroshsabzhttps://github.com/soroshsabz
Copilothttps://github.com/apps/copilot-pull-request-reviewer
November 10, 2026 15:34https://github.com/PowerShell/PowerShell/pull/28385#event-35697945714
started reviewinghttps://github.com/PowerShell/PowerShell/sessions/919a3467-73f1-4d4a-b73a-48172a2b3bf6
soroshsabzhttps://github.com/soroshsabz
November 10, 2026 15:36https://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
Copilothttps://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
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PowerShell/pull/28385#pullrequestreview-5844719933
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Use rc-status to enumerate OpenRC serviceshttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008457
Remove system sudo from PATH in missing-sudo testhttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008606
Retain all matching operation entries in testshttps://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 pagehttps://github.com/PowerShell/PowerShell/pull/28385
src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceUnix.cshttps://github.com/PowerShell/PowerShell/pull/28385/files/d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2#diff-9e39e32a4270ee1479210fc26e919cda36ea1fd665aa67d77dde701a2d710ea2
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
test/powershell/Modules/Microsoft.PowerShell.Management/Service.Tests.ps1https://github.com/PowerShell/PowerShell/pull/28385/files/d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2#diff-a1cfb6d31de876a144f5ae738c95513eb9e8dc7d966ee3a73d7fac45f9b3e1b5
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
test/powershell/Modules/Microsoft.PowerShell.Management/Service.Tests.ps1https://github.com/PowerShell/PowerShell/pull/28385/files/d52bdec911d2f8fe4a4ebcad32bb24ceba1069a2#diff-a1cfb6d31de876a144f5ae738c95513eb9e8dc7d966ee3a73d7fac45f9b3e1b5
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
soroshsabzhttps://github.com/soroshsabz
November 10, 2026 19:15https://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
45eea3chttps://github.com/PowerShell/PowerShell/pull/28385/commits/45eea3c9740257e1b61a0bfca17ee605fa8ae8f6
https://github.com/soroshsabz
Make UnixServiceController.cs StyleCop-default clean for CodeFactorhttps://github.com/PowerShell/PowerShell/pull/28385/commits/457eee5a154690dc081230c3be5cf1123cb1c364
457eee5https://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
a8d7b68https://github.com/PowerShell/PowerShell/pull/28385/commits/a8d7b683dc040338f3edf8df0621a4e0ecaa2fff
https://github.com/soroshsabz
soroshsabzhttps://github.com/soroshsabz
Copilothttps://github.com/apps/copilot-pull-request-reviewer
November 11, 2026 06:38https://github.com/PowerShell/PowerShell/pull/28385#event-35768744996
started reviewinghttps://github.com/PowerShell/PowerShell/sessions/da8cc080-a950-4a60-8e90-523911fb34f8
soroshsabzhttps://github.com/soroshsabz
November 11, 2026 06:40https://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
Copilothttps://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
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PowerShell/pull/28385#pullrequestreview-5854898044
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Restrict PATH when testing missing sudohttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4534834182
Retain all logged operations in the non-root testhttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4534834239
Use rc-status to enumerate OpenRC serviceshttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008457
Retain all matching operation entries in testshttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008693
Remove system sudo from PATH in missing-sudo testhttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008606
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
test/powershell/Modules/Microsoft.PowerShell.Management/Service.Tests.ps1https://github.com/PowerShell/PowerShell/pull/28385/files/457eee5a154690dc081230c3be5cf1123cb1c364#diff-a1cfb6d31de876a144f5ae738c95513eb9e8dc7d966ee3a73d7fac45f9b3e1b5
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
test/powershell/Modules/Microsoft.PowerShell.Management/Service.Tests.ps1https://github.com/PowerShell/PowerShell/pull/28385/files/457eee5a154690dc081230c3be5cf1123cb1c364#diff-a1cfb6d31de876a144f5ae738c95513eb9e8dc7d966ee3a73d7fac45f9b3e1b5
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
soroshsabzhttps://github.com/soroshsabz
November 11, 2026 10:24https://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
3ee3ab6https://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
34ce9dbhttps://github.com/PowerShell/PowerShell/pull/28385/commits/34ce9db2e5891923ce667475a924060f81e0c186
https://github.com/soroshsabz
soroshsabzhttps://github.com/soroshsabz
Copilothttps://github.com/apps/copilot-pull-request-reviewer
November 11, 2026 16:13https://github.com/PowerShell/PowerShell/pull/28385#event-35818240374
started reviewinghttps://github.com/PowerShell/PowerShell/sessions/c820726b-dc0b-4ca0-86bd-dad5dc6953de
soroshsabzhttps://github.com/soroshsabz
November 11, 2026 16:28https://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
Copilothttps://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
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PowerShell/pull/28385#pullrequestreview-5862127981
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Restrict service suffix handling to systemdhttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581347
Preserve case-sensitive native service identityhttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581422
Check systemd for exact-name unit instanceshttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581460
Load service descriptions before display-name filteringhttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581508
Capture the process reference before cancellation checkshttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581565
Discover launchd jobs' actual domainshttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581611
Prevent KeepAlive jobs from relaunching on stophttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581666
Suppress systemd failure markers when listing unitshttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581712
Query actual service state for PassThru resultshttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581778
Map disabled systemd units to Manualhttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4540581844
Retain all logged operations in the non-root testhttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4534834239
Restrict PATH when testing missing sudohttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4534834182
Use rc-status to enumerate OpenRC serviceshttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008457
Retain all matching operation entries in testshttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008693
Remove system sudo from PATH in missing-sudo testhttps://github.com/PowerShell/PowerShell/pull/28385#discussion_r4527008606
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
src/Microsoft.PowerShell.Commands.Management/commands/management/MultipleServiceCommandBase.cshttps://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-29261f9eb057356fb19195e9447b4f77dd1c067373df3d6c8600163030cb661a
soroshsabzhttps://github.com/soroshsabz
Nov 11, 2026https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541274545
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
0637796https://github.com/PowerShell/PowerShell/commit/06377961a9fc06dfbb3aeb35bab75067bb94b49d
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
src/Microsoft.PowerShell.Commands.Management/commands/management/MultipleServiceCommandBase.cshttps://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-29261f9eb057356fb19195e9447b4f77dd1c067373df3d6c8600163030cb661a
soroshsabzhttps://github.com/soroshsabz
Nov 11, 2026https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541274121
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
0483d24https://github.com/PowerShell/PowerShell/commit/0483d24f07142d0653baadbf684924b133901ba9
0637796https://github.com/PowerShell/PowerShell/commit/06377961a9fc06dfbb3aeb35bab75067bb94b49d
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
src/Microsoft.PowerShell.Commands.Management/commands/management/MultipleServiceCommandBase.cshttps://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-29261f9eb057356fb19195e9447b4f77dd1c067373df3d6c8600163030cb661a
soroshsabzhttps://github.com/soroshsabz
Nov 11, 2026https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541273697
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
src/Microsoft.PowerShell.Commands.Management/commands/management/MultipleServiceCommandBase.cshttps://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-29261f9eb057356fb19195e9447b4f77dd1c067373df3d6c8600163030cb661a
soroshsabzhttps://github.com/soroshsabz
Nov 11, 2026https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541273231
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceBaseCommand.cshttps://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-13636611a3f733447e18b2907c20bc838900ceacb0d0d09b2890a34997bec3ee
soroshsabzhttps://github.com/soroshsabz
Nov 11, 2026https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541272730
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceBaseCommand.cshttps://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-13636611a3f733447e18b2907c20bc838900ceacb0d0d09b2890a34997bec3ee
soroshsabzhttps://github.com/soroshsabz
Nov 11, 2026https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541272390
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceBaseCommand.cshttps://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-13636611a3f733447e18b2907c20bc838900ceacb0d0d09b2890a34997bec3ee
soroshsabzhttps://github.com/soroshsabz
Nov 11, 2026https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541271950
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceBaseCommand.cshttps://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-13636611a3f733447e18b2907c20bc838900ceacb0d0d09b2890a34997bec3ee
soroshsabzhttps://github.com/soroshsabz
Nov 11, 2026https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541271517
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
0637796https://github.com/PowerShell/PowerShell/commit/06377961a9fc06dfbb3aeb35bab75067bb94b49d
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
src/Microsoft.PowerShell.Commands.Management/commands/management/ServiceOperationBaseCommand.cshttps://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-547357d5dae5b01722a8e5e00a907bd4989a383aec88e06537eae31527239ece
soroshsabzhttps://github.com/soroshsabz
Nov 11, 2026https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541271102
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
src/Microsoft.PowerShell.Commands.Management/commands/management/UnixServiceParser.cshttps://github.com/PowerShell/PowerShell/pull/28385/files/34ce9db2e5891923ce667475a924060f81e0c186#diff-53b294e07550a4545d9f2a5f2d0b1ed26a169307054d62f8b1f073d61d69163f
soroshsabzhttps://github.com/soroshsabz
Nov 11, 2026https://github.com/PowerShell/PowerShell/pull/28385#discussion_r4541270648
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
0483d24https://github.com/PowerShell/PowerShell/commit/0483d24f07142d0653baadbf684924b133901ba9
0637796https://github.com/PowerShell/PowerShell/commit/06377961a9fc06dfbb3aeb35bab75067bb94b49d
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
soroshsabzhttps://github.com/soroshsabz
November 11, 2026 21:01https://github.com/PowerShell/PowerShell/pull/28385#commits-pushed-a14dbb4
https://github.com/soroshsabz
Reuse master Service.cs for Unix service cmdletshttps://github.com/PowerShell/PowerShell/pull/28385/commits/a14dbb4b117e157ad0a85732437c18702f64e620
a14dbb4https://github.com/PowerShell/PowerShell/pull/28385/commits/a14dbb4b117e157ad0a85732437c18702f64e620
https://github.com/soroshsabz
Fix end-of-file newline in Service.cshttps://github.com/PowerShell/PowerShell/pull/28385/commits/df8a97de71ba04fe4d39dc32d357500324fc8dae
df8a97dhttps://github.com/PowerShell/PowerShell/pull/28385/commits/df8a97de71ba04fe4d39dc32d357500324fc8dae
https://github.com/soroshsabz
Assert the exact enumeration failure error idhttps://github.com/PowerShell/PowerShell/pull/28385/commits/ac69b7229afb7e22c8ce682986af72246c7eecb0
ac69b72https://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
0637796https://github.com/PowerShell/PowerShell/pull/28385/commits/06377961a9fc06dfbb3aeb35bab75067bb94b49d
https://github.com/soroshsabz
Use ordinal name comparisons in the Unix service parserhttps://github.com/PowerShell/PowerShell/pull/28385/commits/0483d24f07142d0653baadbf684924b133901ba9
0483d24https://github.com/PowerShell/PowerShell/pull/28385/commits/0483d24f07142d0653baadbf684924b133901ba9
https://github.com/soroshsabz
soroshsabzhttps://github.com/soroshsabz
Copilothttps://github.com/apps/copilot-pull-request-reviewer
November 11, 2026 20:39https://github.com/PowerShell/PowerShell/pull/28385#event-35841570498
https://github.com/soroshsabz
soroshsabzhttps://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
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Nov 11, 2026 https://github.com/PowerShell/PowerShell/pull/28385#pullrequestreview-5865989226
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PowerShell/pull/28385#pullrequestreview-5865989226
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Read the docshttps://gh.io/AA11tgch
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28385
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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 pagehttps://github.com/PowerShell/PowerShell/pull/28385
https://github.com/soroshsabz
https://github.com/apps/copilot-pull-request-reviewer
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.