| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:733baa6d-10b1-92ce-05f0-3f47bd54e284 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8A56:3E6E7A:AC5B02:F915D9:6A578FFE |
| html-safe-nonce | b9850f7d8f17730269e95fb5c4fe0bae3a8ad36719a6e3671b54a230572a3df1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTU2OjNFNkU3QTpBQzVCMDI6RjkxNUQ5OjZBNTc4RkZFIiwidmlzaXRvcl9pZCI6IjM0NzYxMTgyNjIyNDQ2NzU1ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 585e7193f8801371b984765e6030cf94270cb40c162bddb4b081c6cb23a505d5 |
| hovercard-subject-tag | pull_request:140226543 |
| 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/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/PowerShell/PowerShell/pull/4802/files |
| twitter:image | https://avatars.githubusercontent.com/u/11859881?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/11859881?s=400&v=4 |
| og:image:alt | missed -ErrorAction Stop
changed new-service to return error when given unsupported startuptype
Fix #4800
Fix #4803 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a87fc68e9bdf22e1c7e48ac6a60b98882f4bb103314b3f26b3460c61fc5441ae |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a2198d0212ed703af207673eb4d0868d4f867a5b |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/4802/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F4802%2Ffiles |
| 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 |
| 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%2F4802%2Ffiles |
|
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%2Ffiles&source=header-repo&source_repo=PowerShell%2FPowerShell |
| Reload | https://github.com/PowerShell/PowerShell/pull/4802/files |
| Reload | https://github.com/PowerShell/PowerShell/pull/4802/files |
| Reload | https://github.com/PowerShell/PowerShell/pull/4802/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4802/files |
|
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.4k
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Code
| https://github.com/PowerShell/PowerShell |
|
Issues
1.2k
| https://github.com/PowerShell/PowerShell/issues |
|
Pull requests
288
| 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 |
| iSazonov | https://github.com/iSazonov |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| SteveL-MSFT:set-service-fail | https://github.com/SteveL-MSFT/PowerShell/tree/set-service-fail |
|
Conversation
32
| https://github.com/PowerShell/PowerShell/pull/4802 |
|
Commits
6
| https://github.com/PowerShell/PowerShell/pull/4802/commits |
|
Checks
0
| https://github.com/PowerShell/PowerShell/pull/4802/checks |
|
Files changed
| https://github.com/PowerShell/PowerShell/pull/4802/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4802/files |
|
fix set-service failing test
| https://github.com/PowerShell/PowerShell/pull/4802/files#top |
|
Show all changes
6 commits
| https://github.com/PowerShell/PowerShell/pull/4802/files |
|
babc348
[feature]
SteveL-MSFT Sep 10, 2017
| https://github.com/PowerShell/PowerShell/pull/4802/commits/babc3489dfe4e87b539d50e9fbd37298c9856ce4 |
|
c67a75e
[feature]
SteveL-MSFT Sep 11, 2017
| https://github.com/PowerShell/PowerShell/pull/4802/commits/c67a75e775c1a3b5eddc7a9005f07cc1459d2a38 |
|
4bde7fb
[feature]
SteveL-MSFT Sep 11, 2017
| https://github.com/PowerShell/PowerShell/pull/4802/commits/4bde7fb37fcb9e50411a0ff40441203be6b6e653 |
|
94561f4
[feature]
SteveL-MSFT Sep 12, 2017
| https://github.com/PowerShell/PowerShell/pull/4802/commits/94561f48ace8159b0a121827f9ad961796f2d814 |
|
25b43a6
[feature]
SteveL-MSFT Sep 13, 2017
| https://github.com/PowerShell/PowerShell/pull/4802/commits/25b43a6bb416d625f1b3bc946b9878057fef549f |
|
7b86b32
[feature]
SteveL-MSFT Sep 13, 2017
| https://github.com/PowerShell/PowerShell/pull/4802/commits/7b86b32c1ea4b8fafa53cd653463efec7479637d |
|
Clear filters
| https://github.com/PowerShell/PowerShell/pull/4802/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4802/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4802/files |
|
Service.cs
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-042692a5a997e7343b8054779ae2a9cd4a0e697b6270951b8e6fa272ebc64b9e |
|
ServiceResources.resx
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-a288be6199178df0ce3780f8a5641fa07dd0750497ec9c3b58fa5785e4d0fb7a |
|
Set-Service.Tests.ps1
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-2513576144edc63cfaee543a9ee92982c27e5b2ebfdff97df1e812a7070cefa7 |
|
| https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/Service.cs | https://github.com/PowerShell/PowerShell/pull/4802/files#diff-042692a5a997e7343b8054779ae2a9cd4a0e697b6270951b8e6fa272ebc64b9e |
|
View file
| https://github.com/SteveL-MSFT/PowerShell/blob/7b86b32c1ea4b8fafa53cd653463efec7479637d/src/Microsoft.PowerShell.Commands.Management/commands/management/Service.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/4802/{{ revealButtonHref }} |
|
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-042692a5a997e7343b8054779ae2a9cd4a0e697b6270951b8e6fa272ebc64b9e |
|
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-042692a5a997e7343b8054779ae2a9cd4a0e697b6270951b8e6fa272ebc64b9e |
|
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-042692a5a997e7343b8054779ae2a9cd4a0e697b6270951b8e6fa272ebc64b9e |
| iSazonov | https://github.com/iSazonov |
| Sep 13, 2017 | https://github.com/PowerShell/PowerShell/pull/4802/files#r138523768 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4802/files |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
| Sep 13, 2017 | https://github.com/PowerShell/PowerShell/pull/4802/files#r138533359 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4802/files |
| iSazonov | https://github.com/iSazonov |
| Sep 13, 2017 | https://github.com/PowerShell/PowerShell/pull/4802/files#r138543979 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4802/files |
| daxian-dbw | https://github.com/daxian-dbw |
| Sep 14, 2017 | https://github.com/PowerShell/PowerShell/pull/4802/files#r138955698 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4802/files |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
| Sep 14, 2017 | https://github.com/PowerShell/PowerShell/pull/4802/files#r138977487 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4802/files |
|
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-042692a5a997e7343b8054779ae2a9cd4a0e697b6270951b8e6fa272ebc64b9e |
|
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-042692a5a997e7343b8054779ae2a9cd4a0e697b6270951b8e6fa272ebc64b9e |
|
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-042692a5a997e7343b8054779ae2a9cd4a0e697b6270951b8e6fa272ebc64b9e |
|
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-042692a5a997e7343b8054779ae2a9cd4a0e697b6270951b8e6fa272ebc64b9e |
|
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-042692a5a997e7343b8054779ae2a9cd4a0e697b6270951b8e6fa272ebc64b9e |
|
| https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7 |
| src/Microsoft.PowerShell.Commands.Management/resources/ServiceResources.resx | https://github.com/PowerShell/PowerShell/pull/4802/files#diff-a288be6199178df0ce3780f8a5641fa07dd0750497ec9c3b58fa5785e4d0fb7a |
|
View file
| https://github.com/SteveL-MSFT/PowerShell/blob/7b86b32c1ea4b8fafa53cd653463efec7479637d/src/Microsoft.PowerShell.Commands.Management/resources/ServiceResources.resx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/4802/{{ revealButtonHref }} |
|
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-a288be6199178df0ce3780f8a5641fa07dd0750497ec9c3b58fa5785e4d0fb7a |
|
| 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/4802/files#diff-2513576144edc63cfaee543a9ee92982c27e5b2ebfdff97df1e812a7070cefa7 |
|
View file
| https://github.com/SteveL-MSFT/PowerShell/blob/7b86b32c1ea4b8fafa53cd653463efec7479637d/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/4802/{{ revealButtonHref }} |
|
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-2513576144edc63cfaee543a9ee92982c27e5b2ebfdff97df1e812a7070cefa7 |
|
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-2513576144edc63cfaee543a9ee92982c27e5b2ebfdff97df1e812a7070cefa7 |
|
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-2513576144edc63cfaee543a9ee92982c27e5b2ebfdff97df1e812a7070cefa7 |
|
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-2513576144edc63cfaee543a9ee92982c27e5b2ebfdff97df1e812a7070cefa7 |
|
| https://github.com/PowerShell/PowerShell/pull/4802/files#diff-2513576144edc63cfaee543a9ee92982c27e5b2ebfdff97df1e812a7070cefa7 |
|
| https://github.com/PowerShell/PowerShell/pull/4802/files#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 |