| route-pattern | /:user_id/:repository/pull/:id/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:8939a529-41c0-3181-4ae7-081f3d2f0534 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9D9A:16E74E:4BC8C78:64C3E63:6A655221 |
| html-safe-nonce | 7a2af872bde34c78f52302b097571cdec67d7b26491cbab59532523fe8a706a3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDlBOjE2RTc0RTo0QkM4Qzc4OjY0QzNFNjM6NkE2NTUyMjEiLCJ2aXNpdG9yX2lkIjoiNTUwMjE4MDcwMjI5NjU2MDE2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 94985b00830f48505a7b30aed014f6667c18d6efcdf80eae6cbd9495754d3ae5 |
| hovercard-subject-tag | pull_request:141640226 |
| 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 | ///pull_requests/show/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/PowerShell/PowerShell/pull/4858/commits/2585dbe0fc5cd71a47c79315e6478dafee2e640b |
| twitter:image | https://avatars.githubusercontent.com/u/5766695?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5766695?s=400&v=4 |
| og:image:alt | I have added the function Remove-Service to the Management module.
The functions New-Service and Set-Service were already present, I thought it would be a good idea to have a Remove-Service
Issue #... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | 309153364422b3c499922d1a2a6404910a58ed8e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/4858/commits/2585dbe0fc5cd71a47c79315e6478dafee2e640b#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F4858%2Fcommits%2F2585dbe0fc5cd71a47c79315e6478dafee2e640b |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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 |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F4858%2Fcommits%2F2585dbe0fc5cd71a47c79315e6478dafee2e640b |
|
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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=PowerShell%2FPowerShell |
| Reload | https://github.com/PowerShell/PowerShell/pull/4858/commits/2585dbe0fc5cd71a47c79315e6478dafee2e640b |
| Reload | https://github.com/PowerShell/PowerShell/pull/4858/commits/2585dbe0fc5cd71a47c79315e6478dafee2e640b |
| Reload | https://github.com/PowerShell/PowerShell/pull/4858/commits/2585dbe0fc5cd71a47c79315e6478dafee2e640b |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4858/commits/2585dbe0fc5cd71a47c79315e6478dafee2e640b |
|
PowerShell
| https://github.com/PowerShell |
| PowerShell | https://github.com/PowerShell/PowerShell |
|
Notifications
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Fork
8.4k
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Star
54.5k
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Code
| https://github.com/PowerShell/PowerShell |
|
Issues
1.3k
| https://github.com/PowerShell/PowerShell/issues |
|
Pull requests
291
| 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 quality
3
| https://github.com/PowerShell/PowerShell/security |
|
Insights
| https://github.com/PowerShell/PowerShell/pulse |
|
Code
| https://github.com/PowerShell/PowerShell |
|
Issues
| https://github.com/PowerShell/PowerShell/issues |
|
Pull requests
| 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 quality
| https://github.com/PowerShell/PowerShell/security |
|
Insights
| https://github.com/PowerShell/PowerShell/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FPowerShell%2FPowerShell%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FPowerShell%2FPowerShell%2Fissues%2Fnew%2Fchoose |
| adityapatwardhan | https://github.com/adityapatwardhan |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| joandrsn:remove-service | https://github.com/joandrsn/PowerShell/tree/remove-service |
|
Conversation
48
| https://github.com/PowerShell/PowerShell/pull/4858 |
|
Commits
16
| https://github.com/PowerShell/PowerShell/pull/4858/commits |
|
Checks
0
| https://github.com/PowerShell/PowerShell/pull/4858/checks |
|
Files changed
| https://github.com/PowerShell/PowerShell/pull/4858/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4858/commits/2585dbe0fc5cd71a47c79315e6478dafee2e640b |
|
[Feature]Added Remove-service to Management module
| https://github.com/PowerShell/PowerShell/pull/4858/commits/2585dbe0fc5cd71a47c79315e6478dafee2e640b#top |
|
Show all changes
16 commits
| https://github.com/PowerShell/PowerShell/pull/4858/files |
|
fb73312
[Feature]Remove-Service added to Management module
joandrsn Sep 18, 2017
| https://github.com/PowerShell/PowerShell/pull/4858/commits/fb733123ffd05cd25231aa41b9ad6fc4f510b06b |
|
32759f4
[Feature]Capitalization
joandrsn Sep 18, 2017
| https://github.com/PowerShell/PowerShell/pull/4858/commits/32759f4df0b69ae3e0547fad9a01d5a0f186fb9c |
|
072582f
[Feature]Added test cases for Remove-Service, Removed return value
joandrsn Sep 18, 2017
| https://github.com/PowerShell/PowerShell/pull/4858/commits/072582f42f92fdd22df85ae588bc9071e2ba4cf7 |
|
1349f60
[Feature]Documentation from copy-paste code corrected to reflect the …
joandrsn Sep 18, 2017
| https://github.com/PowerShell/PowerShell/pull/4858/commits/1349f60ac27193fbbaabc544c51fc4eb1cba17a0 |
|
b1c7e4d
[Feature]Erroraction to be sure that an error is thrown in testcase
joandrsn Sep 18, 2017
| https://github.com/PowerShell/PowerShell/pull/4858/commits/b1c7e4da7cb107771ca7907d9aee53144780b6c6 |
|
17c4d4a
[Feature]Removed direct reference to module in Pester test
joandrsn Sep 18, 2017
| https://github.com/PowerShell/PowerShell/pull/4858/commits/17c4d4ae52e139422abcd71fa484c7bc61940086 |
|
2585dbe
[Feature]Removed extra line in test
joandrsn Sep 18, 2017
| https://github.com/PowerShell/PowerShell/pull/4858/commits/2585dbe0fc5cd71a47c79315e6478dafee2e640b |
|
b56dba9
[Feature]Use FullyQualifiedErrorId in Remove-Service test without a v…
joandrsn Sep 18, 2017
| https://github.com/PowerShell/PowerShell/pull/4858/commits/b56dba9f933ded212ba0d0f4f32debad3acfc30c |
|
c519a9a
[Feature]Exposed Remove-Service
joandrsn Sep 18, 2017
| https://github.com/PowerShell/PowerShell/pull/4858/commits/c519a9a67b9db702ceca8562d3ea5899e45d94ad |
|
cb2ee47
[Feature]Consistent casing, Named Arguments & Remove incorrect except…
joandrsn Sep 18, 2017
| https://github.com/PowerShell/PowerShell/pull/4858/commits/cb2ee47748344d97b0d81339368a4d2417d09f6a |
|
2d7e000
[Feature]Remove-Service test should fail if the service was not removed
joandrsn Sep 19, 2017
| https://github.com/PowerShell/PowerShell/pull/4858/commits/2d7e0000a727e4551acfe39ce42d6ee47d4e5ebb |
|
4ffd2c0
[Feature]Cleanup comments & add Remove-Service for CI
joandrsn Sep 19, 2017
| https://github.com/PowerShell/PowerShell/pull/4858/commits/4ffd2c0de8632c1b0d8bc55fa657075f20d9eab7 |
|
2fcf55e
[Feature]Remove-Service in CI set in alphabetic order
joandrsn Sep 19, 2017
| https://github.com/PowerShell/PowerShell/pull/4858/commits/2fcf55eaaf70d6508f92071245cac16041b69135 |
|
da41f7d
[Feature]Use ParameterSetName instead of _ParameterSetName and rewrit…
joandrsn Sep 19, 2017
| https://github.com/PowerShell/PowerShell/pull/4858/commits/da41f7deb811f32538e0dc7f0d811646ceb8acf8 |
|
6753840
Revert "[Feature]Use ParameterSetName instead of _ParameterSetName an…
joandrsn Sep 20, 2017
| https://github.com/PowerShell/PowerShell/pull/4858/commits/675384059f7eeeed72d01b2004ec0f6cd07937d6 |
|
427bc7d
[Feature]Remove _ParameterSetName check & added test for pipeline inp…
joandrsn Sep 20, 2017
| https://github.com/PowerShell/PowerShell/pull/4858/commits/427bc7d6c8e56108943f9b44ed19341cca33a3ba |
|
Clear filters
| https://github.com/PowerShell/PowerShell/pull/4858/commits/2585dbe0fc5cd71a47c79315e6478dafee2e640b |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4858/commits/2585dbe0fc5cd71a47c79315e6478dafee2e640b |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4858/commits/2585dbe0fc5cd71a47c79315e6478dafee2e640b |
|
Prev
| https://github.com/PowerShell/PowerShell/pull/4858/commits/17c4d4ae52e139422abcd71fa484c7bc61940086 |
|
Next
| https://github.com/PowerShell/PowerShell/pull/4858/commits/b56dba9f933ded212ba0d0f4f32debad3acfc30c |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4858/commits/2585dbe0fc5cd71a47c79315e6478dafee2e640b |
|
| https://github.com/joandrsn |
| joandrsn | https://github.com/PowerShell/PowerShell/commits?author=joandrsn |
|
| https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7 |
| test/powershell/Modules/Microsoft.PowerShell.Management/Set-Service.Tests.ps1 | https://github.com/PowerShell/PowerShell/pull/4858/commits/2585dbe0fc5cd71a47c79315e6478dafee2e640b#diff-2513576144edc63cfaee543a9ee92982c27e5b2ebfdff97df1e812a7070cefa7 |
|
View file
| https://github.com/joandrsn/PowerShell/blob/2585dbe0fc5cd71a47c79315e6478dafee2e640b/test/powershell/Modules/Microsoft.PowerShell.Management/Set-Service.Tests.ps1 |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/4858/commits/{{ revealButtonHref }} |
|
| https://github.com/PowerShell/PowerShell/pull/4858/commits/2585dbe0fc5cd71a47c79315e6478dafee2e640b#diff-2513576144edc63cfaee543a9ee92982c27e5b2ebfdff97df1e812a7070cefa7 |
|
| https://github.com/PowerShell/PowerShell/pull/4858/commits/2585dbe0fc5cd71a47c79315e6478dafee2e640b#diff-2513576144edc63cfaee543a9ee92982c27e5b2ebfdff97df1e812a7070cefa7 |
|
| 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 |