| 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:39529cab-b979-6541-9471-f4ee10c660e6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 879E:3C007C:B03E64:FF2E72:6A4E1AF6 |
| html-safe-nonce | f66785ca06b6df7ab115405c70d3d3aa745dd9d7b49cd31400f7807c293559ee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzlFOjNDMDA3QzpCMDNFNjQ6RkYyRTcyOjZBNEUxQUY2IiwidmlzaXRvcl9pZCI6IjM5NzYxNDIwNDQyMjEyODMwNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 42d027f22e1bd27505fd1ab02550f3f82d5a2a71a412ddbb7f46db4c635410be |
| hovercard-subject-tag | pull_request:2888194708 |
| 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/26150/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/b15d22df862000821cbb44f36698566f91a350f95aa635973c356e35b18ac3f6/PowerShell/PowerShell/pull/26150 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b15d22df862000821cbb44f36698566f91a350f95aa635973c356e35b18ac3f6/PowerShell/PowerShell/pull/26150 |
| og:image:alt | PR Summary
Replace SwitchParameter.IsPresent and SwitchParameter.ToBool() with SwitchParameter.IsSpecified and standardize the codebase to it.
PR Context
In discussion on #26140, it has come up tha... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | logiclrd |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| 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 | 5fe497b4815fcce3df76c0e246faa739a82c3124 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/26150#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F26150 |
| 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/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/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/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%2F26150 |
|
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/26150 |
| Reload | https://github.com/PowerShell/PowerShell/pull/26150 |
| Reload | https://github.com/PowerShell/PowerShell/pull/26150 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/26150 |
|
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.3k
| 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
283
| 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 |
| logiclrd | https://github.com/logiclrd |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| logiclrd:switch-parameter-standardization | https://github.com/logiclrd/PowerShell/tree/switch-parameter-standardization |
| Conversation | https://github.com/PowerShell/PowerShell/pull/26150 |
| Commits2 (2) | https://github.com/PowerShell/PowerShell/pull/26150/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/26150/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/26150/files |
| Switch parameter standardization | https://github.com/PowerShell/PowerShell/pull/26150#top |
| logiclrd | https://github.com/logiclrd |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| logiclrd:switch-parameter-standardization | https://github.com/logiclrd/PowerShell/tree/switch-parameter-standardization |
|
| https://github.com/logiclrd |
| logiclrd | https://github.com/logiclrd |
| Oct 5, 2025 | https://github.com/PowerShell/PowerShell/pull/26150#issue-3484939949 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/26150 |
| #26140 | https://github.com/PowerShell/PowerShell/pull/26140 |
| The SwitchParameter type implicitly converts to Boolean | https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_functions_advanced_parameters?view=powershell-7.5#:~:text=The%20SwitchParameter%20type%20implicitly%20converts%20to%20Boolean |
| #26140 | https://github.com/PowerShell/PowerShell/pull/26140 |
| #26141 | https://github.com/PowerShell/PowerShell/pull/26141 |
| #26149 | https://github.com/PowerShell/PowerShell/issues/26149 |
| PR has a meaningful title | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Summarized changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Draft Pull Request and mark it as Ready to Review when it is ready to merge | https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#draft-pull-requests |
| Breaking changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes |
| Experimental feature(s) needed | https://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.5/Microsoft.PowerShell.Core/About/about_Experimental_Features.md |
| Documentation needed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Make sure you've added a new test if existing tests do not effectively test the code changed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/26150 |
| logiclrd | https://github.com/logiclrd |
| October 5, 2025 11:05 | https://github.com/PowerShell/PowerShell/pull/26150#commits-pushed-d7688f5 |
|
| https://github.com/logiclrd |
| Renamed _isPresent to _isSpecified in the definition of SwitchParameter. | https://github.com/PowerShell/PowerShell/pull/26150/commits/d7688f5bbc1803595563a4e61b4ea0b12c51c59c |
| d7688f5 | https://github.com/PowerShell/PowerShell/pull/26150/commits/d7688f5bbc1803595563a4e61b4ea0b12c51c59c |
|
| https://github.com/logiclrd |
| Updated all references to .IsPresent and .ToBool() to use .IsSpecifie… | https://github.com/PowerShell/PowerShell/pull/26150/commits/0a9feab6acdec4425f7f82090519d93c2b07c03b |
| 0a9feab | https://github.com/PowerShell/PowerShell/pull/26150/commits/0a9feab6acdec4425f7f82090519d93c2b07c03b |
| https://github.com/logiclrd |
| logiclrd | https://github.com/logiclrd |
| TravisEz13 | https://github.com/TravisEz13 |
| adityapatwardhan | https://github.com/adityapatwardhan |
| daxian-dbw | https://github.com/daxian-dbw |
| code owners | https://github.com/PowerShell/PowerShell/blob/be0542b1939de6a85ebf3e0e5ffd3c7c1429d0a8/.github/CODEOWNERS#L52 |
| October 5, 2025 16:16 | https://github.com/PowerShell/PowerShell/pull/26150#event-20102167673 |
| https://github.com/logiclrd |
| logiclrd | https://github.com/logiclrd |
|
Oct 5, 2025
| https://github.com/PowerShell/PowerShell/pull/26150#ref-pullrequest-3479662965 |
|
Correct handling of explicit -Empty:$false parameter value in New-Guid
#26140
| https://github.com/PowerShell/PowerShell/pull/26140 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| Oct 5, 2025 | https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3369228561 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/26150 |
| https://github.com/xtqqczze/PowerShell-PowerShell/tree/rm-SwitchParameterIsPresent | https://github.com/xtqqczze/PowerShell-PowerShell/tree/rm-SwitchParameterIsPresent |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/26150 |
| https://github.com/logiclrd |
| logiclrd | https://github.com/logiclrd |
| Oct 5, 2025 | https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3369285020 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/26150 |
| https://github.com/iSazonov |
| iSazonov | https://github.com/iSazonov |
| Oct 6, 2025 | https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3369921857 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/26150 |
| https://github.com/jborean93 |
| jborean93 | https://github.com/jborean93 |
| Oct 6, 2025 | https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3374330867 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/26150 |
| https://github.com/logiclrd |
| logiclrd | https://github.com/logiclrd |
| Oct 6, 2025 | https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3374364709 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/26150 |
| https://github.com/logiclrd |
| logiclrd | https://github.com/logiclrd |
| Oct 6, 2025 | https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3374369344 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/26150 |
| https://github.com/jborean93 |
| jborean93 | https://github.com/jborean93 |
| Oct 6, 2025 | https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3374411455 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/26150 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| Oct 7, 2025 | https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3378370103 |
| #11674 | https://github.com/PowerShell/PowerShell/issues/11674 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/26150 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| Oct 7, 2025 | https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3378539880 |
| #26152 | https://github.com/PowerShell/PowerShell/pull/26152 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/26150 |
| https://github.com/apps/microsoft-github-policy-service |
| microsoft-github-policy-service | https://github.com/apps/microsoft-github-policy-service |
| Oct 15, 2025 | https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3404221030 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/26150 |
| https://github.com/apps/microsoft-github-policy-service |
| microsoft-github-policy-service | https://github.com/apps/microsoft-github-policy-service |
|
Review - Needed
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22 |
| Oct 15, 2025 | https://github.com/PowerShell/PowerShell/pull/26150#event-20282810653 |
| https://github.com/muffy86 |
| muffy86 | https://github.com/muffy86 |
| Jun 21, 2026 | https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-4763659145 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/26150 |
| 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%2F26150 |
|
| https://github.com/daxian-dbw |
|
daxian-dbw
| https://github.com/daxian-dbw |
|
| https://github.com/TravisEz13 |
|
TravisEz13
| https://github.com/TravisEz13 |
|
| https://github.com/adityapatwardhan |
|
adityapatwardhan
| https://github.com/adityapatwardhan |
|
Review - Needed
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22 |
|
SwitchParameter.IsPresent documentation does not match actual behavior when parameter is explicitly set to false
| https://github.com/PowerShell/PowerShell/issues/26149 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/26150 |
|
| https://github.com/logiclrd |
|
| https://github.com/xtqqczze |
|
| https://github.com/iSazonov |
|
| https://github.com/jborean93 |
|
| https://github.com/muffy86 |
|
| 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 |