| 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:386c3b42-6381-5962-1d55-72f936862135 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 84F0:2FB483:555B741:783AD92:6A573102 |
| html-safe-nonce | a3b050a5726093312291426ad060fd99004d71b76b064a37d8f9a447579e98c1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEYwOjJGQjQ4Mzo1NTVCNzQxOjc4M0FEOTI6NkE1NzMxMDIiLCJ2aXNpdG9yX2lkIjoiNjY4NTUwMDk1MDMzNjQ1MDgxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c816532a6bc16c73c15ac87f9d4448456c83c694a8833a325d6b34b81cdb2581 |
| hovercard-subject-tag | pull_request:161754941 |
| 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/5827/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/37a12e6780c5323e56763cf923f9cf4bbc4d45d994c46ecefe6b8539128931aa/PowerShell/PowerShell/pull/5827 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/37a12e6780c5323e56763cf923f9cf4bbc4d45d994c46ecefe6b8539128931aa/PowerShell/PowerShell/pull/5827 |
| og:image:alt | PR Summary
SC is a default alias for Set-Content, however on Windows there is a sc.exe command for managing NT Services.
If a user executes sc start service1 in a PowerShell script, what happens is... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SteveL-MSFT |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| 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 | 2576d1f0198cf1588faf2edf27f1ed120903be10 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/5827#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F5827 |
| 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%2F5827 |
|
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/5827 |
| Reload | https://github.com/PowerShell/PowerShell/pull/5827 |
| Reload | https://github.com/PowerShell/PowerShell/pull/5827 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5827 |
|
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 |
| daxian-dbw | https://github.com/daxian-dbw |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| SteveL-MSFT:remove-sc | https://github.com/SteveL-MSFT/PowerShell/tree/remove-sc |
| Conversation | https://github.com/PowerShell/PowerShell/pull/5827 |
| Commits2 (2) | https://github.com/PowerShell/PowerShell/pull/5827/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/5827/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/5827/files |
| Remove sc alias which conflicts with sc.exe | https://github.com/PowerShell/PowerShell/pull/5827#top |
| daxian-dbw | https://github.com/daxian-dbw |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| SteveL-MSFT:remove-sc | https://github.com/SteveL-MSFT/PowerShell/tree/remove-sc |
|
| https://github.com/SteveL-MSFT |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
| Jan 8, 2018 | https://github.com/PowerShell/PowerShell/pull/5827#issue-286927089 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5827 |
| MicrosoftDocs/PowerShell-Docs#2021 | https://github.com/MicrosoftDocs/PowerShell-Docs/pull/2021 |
| #3980 | https://github.com/PowerShell/PowerShell/issues/3980 |
| 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 |
| Documentation needed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Change is not breaking | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes |
| 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 |
| Add [feature] if the change is significant or affects feature tests | https://github.com/PowerShell/PowerShell/blob/master/docs/testing-guidelines/testing-guidelines.md#requesting-additional-tests-for-a-pr |
| Work in Progress | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5827 |
| https://github.com/SteveL-MSFT |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
|
Breaking-Change
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABreaking-Change |
| Jan 8, 2018 | https://github.com/PowerShell/PowerShell/pull/5827#event-1414689692 |
| https://github.com/SteveL-MSFT |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
| 6.0.0-GA | https://github.com/PowerShell/PowerShell/milestone/27 |
| Jan 8, 2018 | https://github.com/PowerShell/PowerShell/pull/5827#event-1414689695 |
| https://github.com/SteveL-MSFT |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
| daxian-dbw | https://github.com/daxian-dbw |
| Jan 8, 2018 | https://github.com/PowerShell/PowerShell/pull/5827#event-1414689708 |
| https://github.com/SteveL-MSFT |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
| daxian-dbw | https://github.com/daxian-dbw |
| January 8, 2018 23:54 | https://github.com/PowerShell/PowerShell/pull/5827#event-1414689709 |
| https://github.com/SteveL-MSFT |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
| BrucePay | https://github.com/BrucePay |
| lzybkr | https://github.com/lzybkr |
| code owners | https://github.com/PowerShell/PowerShell/blob/f8a5fc1f19dd473f5e390f70bdfaabc2ff74baa8/.github/CODEOWNERS#L44 |
| January 8, 2018 23:54 | https://github.com/PowerShell/PowerShell/pull/5827#event-1414689710 |
| https://github.com/TravisEz13 |
| TravisEz13 | https://github.com/TravisEz13 |
|
Jan 8, 2018
| https://github.com/PowerShell/PowerShell/pull/5827#pullrequestreview-87377803 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/5827/files |
| https://github.com/daxian-dbw |
| daxian-dbw | https://github.com/daxian-dbw |
|
Jan 8, 2018
| https://github.com/PowerShell/PowerShell/pull/5827#pullrequestreview-87378203 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/5827/files |
| test/powershell/engine/Basic/DefaultCommands.Tests.ps1 | https://github.com/PowerShell/PowerShell/pull/5827/files#diff-adf034e44202ea065ef630717c6edd25fa8b7305ddd098cae7b35684368b363a |
| daxian-dbw | https://github.com/daxian-dbw |
| Jan 8, 2018 | https://github.com/PowerShell/PowerShell/pull/5827#discussion_r160287984 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5827 |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
| Jan 9, 2018 | https://github.com/PowerShell/PowerShell/pull/5827#discussion_r160293298 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5827 |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
| Jan 9, 2018 | https://github.com/PowerShell/PowerShell/pull/5827#discussion_r160294596 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5827 |
|
| https://github.com/SteveL-MSFT |
| remove sc alias from PSCore6 as it conflicts with sc.exe and Linux … | https://github.com/PowerShell/PowerShell/pull/5827/commits/700ff27aa37ab0cce74a2efdf818e62771b20994 |
| 700ff27 | https://github.com/PowerShell/PowerShell/pull/5827/commits/700ff27aa37ab0cce74a2efdf818e62771b20994 |
| https://github.com/SteveL-MSFT |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
| force-pushed | https://github.com/PowerShell/PowerShell/compare/75f900510a51e1dbde61c0aed56265a5a81f78c0..700ff27aa37ab0cce74a2efdf818e62771b20994 |
| 75f9005 | https://github.com/PowerShell/PowerShell/commit/75f900510a51e1dbde61c0aed56265a5a81f78c0 |
| 700ff27 | https://github.com/PowerShell/PowerShell/commit/700ff27aa37ab0cce74a2efdf818e62771b20994 |
|
Compare
| https://github.com/PowerShell/PowerShell/compare/75f900510a51e1dbde61c0aed56265a5a81f78c0..700ff27aa37ab0cce74a2efdf818e62771b20994 |
| January 9, 2018 00:40 | https://github.com/PowerShell/PowerShell/pull/5827#event-1414735335 |
| https://github.com/daxian-dbw |
| daxian-dbw | https://github.com/daxian-dbw |
|
Jan 9, 2018
| https://github.com/PowerShell/PowerShell/pull/5827#pullrequestreview-87385624 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/5827/files/700ff27aa37ab0cce74a2efdf818e62771b20994 |
|
| https://github.com/SteveL-MSFT |
| add sc back for FullPS | https://github.com/PowerShell/PowerShell/pull/5827/commits/625b69095b24e6e7d2c4df4ff1d943dc021f7641 |
| 625b690 | https://github.com/PowerShell/PowerShell/pull/5827/commits/625b69095b24e6e7d2c4df4ff1d943dc021f7641 |
| https://github.com/SteveL-MSFT |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
|
Jan 9, 2018
| https://github.com/PowerShell/PowerShell/pull/5827#ref-pullrequest-286940516 |
|
remove alias sc to match PSCore6
MicrosoftDocs/PowerShell-Docs#2021
| https://github.com/MicrosoftDocs/PowerShell-Docs/pull/2021 |
| https://github.com/daxian-dbw |
| daxian-dbw | https://github.com/daxian-dbw |
| 0d893a5 | https://github.com/PowerShell/PowerShell/commit/0d893a59c73363069e3508debf274b45e7149ab7 |
| Jan 9, 2018 | https://github.com/PowerShell/PowerShell/pull/5827#event-1414773131 |
| https://github.com/SteveL-MSFT |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
| January 9, 2018 01:21 | https://github.com/PowerShell/PowerShell/pull/5827#event-1414774253 |
| TravisEz13 | https://github.com/TravisEz13 |
|
Jan 9, 2018
| https://github.com/PowerShell/PowerShell/pull/5827#ref-commit-a3b5d95 |
|
| https://github.com/SteveL-MSFT |
|
| https://github.com/TravisEz13 |
| Remove sc alias which conflicts with sc.exe ( | https://github.com/TravisEz13/PowerShell/commit/a3b5d9561ecf734fa5eb9bc5da8e7f1edfda7dc9 |
| PowerShell#5827 | https://github.com/PowerShell/PowerShell/pull/5827 |
| ) | https://github.com/TravisEz13/PowerShell/commit/a3b5d9561ecf734fa5eb9bc5da8e7f1edfda7dc9 |
| a3b5d95 | https://github.com/TravisEz13/PowerShell/commit/a3b5d9561ecf734fa5eb9bc5da8e7f1edfda7dc9 |
| https://github.com/TravisEz13 |
| TravisEz13 | https://github.com/TravisEz13 |
|
Jan 9, 2018
| https://github.com/PowerShell/PowerShell/pull/5827#ref-pullrequest-286933481 |
|
Merge 6.0.0-ga PRs
#5828
| https://github.com/PowerShell/PowerShell/pull/5828 |
| TravisEz13 | https://github.com/TravisEz13 |
|
Jan 9, 2018
| https://github.com/PowerShell/PowerShell/pull/5827#ref-commit-08c455a |
|
| https://github.com/SteveL-MSFT |
|
| https://github.com/TravisEz13 |
| Remove sc alias which conflicts with sc.exe ( | https://github.com/PowerShell/PowerShell/commit/08c455a4ee133a4eda0d59460a8361ae54a5fd6b |
| #5827 | https://github.com/PowerShell/PowerShell/pull/5827 |
| ) | https://github.com/PowerShell/PowerShell/commit/08c455a4ee133a4eda0d59460a8361ae54a5fd6b |
| 08c455a | https://github.com/PowerShell/PowerShell/commit/08c455a4ee133a4eda0d59460a8361ae54a5fd6b |
| 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%2F5827 |
|
| https://github.com/daxian-dbw |
|
daxian-dbw
| https://github.com/daxian-dbw |
|
| https://github.com/PowerShell/PowerShell/pull/5827/files/700ff27aa37ab0cce74a2efdf818e62771b20994 |
|
| https://github.com/TravisEz13 |
|
TravisEz13
| https://github.com/TravisEz13 |
|
| https://github.com/PowerShell/PowerShell/pull/5827/files/75f900510a51e1dbde61c0aed56265a5a81f78c0 |
|
| https://github.com/BrucePay |
|
BrucePay
| https://github.com/BrucePay |
|
| https://github.com/lzybkr |
|
lzybkr
| https://github.com/lzybkr |
|
| https://github.com/daxian-dbw |
|
daxian-dbw
| https://github.com/daxian-dbw |
|
Breaking-Change
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABreaking-Change |
|
6.0.0-GA
| https://github.com/PowerShell/PowerShell/milestone/27 |
|
sc start "my service" returns nothing and doesnt start services
| https://github.com/PowerShell/PowerShell/issues/3980 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5827 |
|
| https://github.com/SteveL-MSFT |
|
| https://github.com/daxian-dbw |
|
| https://github.com/TravisEz13 |
|
| 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 |