René's URL Explorer Experiment


Title: Switch parameter standardization by logiclrd · Pull Request #26150 · PowerShell/PowerShell · GitHub

Open Graph Title: Switch parameter standardization by logiclrd · Pull Request #26150 · PowerShell/PowerShell

X Title: Switch parameter standardization by logiclrd · Pull Request #26150 · PowerShell/PowerShell

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

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

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

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

X: @github

direct link

Domain: github.com

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:39529cab-b979-6541-9471-f4ee10c660e6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id879E:3C007C:B03E64:FF2E72:6A4E1AF6
html-safe-noncef66785ca06b6df7ab115405c70d3d3aa745dd9d7b49cd31400f7807c293559ee
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzlFOjNDMDA3QzpCMDNFNjQ6RkYyRTcyOjZBNEUxQUY2IiwidmlzaXRvcl9pZCI6IjM5NzYxNDIwNDQyMjEyODMwNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac42d027f22e1bd27505fd1ab02550f3f82d5a2a71a412ddbb7f46db4c635410be
hovercard-subject-tagpull_request:2888194708
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/26150/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b15d22df862000821cbb44f36698566f91a350f95aa635973c356e35b18ac3f6/PowerShell/PowerShell/pull/26150
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b15d22df862000821cbb44f36698566f91a350f95aa635973c356e35b18ac3f6/PowerShell/PowerShell/pull/26150
og:image:altPR 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelogiclrd
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
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
release5fe497b4815fcce3df76c0e246faa739a82c3124
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/PowerShell/PowerShell/pull/26150
Reloadhttps://github.com/PowerShell/PowerShell/pull/26150
Reloadhttps://github.com/PowerShell/PowerShell/pull/26150
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26150
PowerShell https://github.com/PowerShell
PowerShellhttps://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
logiclrdhttps://github.com/logiclrd
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
logiclrd:switch-parameter-standardizationhttps://github.com/logiclrd/PowerShell/tree/switch-parameter-standardization
Conversationhttps://github.com/PowerShell/PowerShell/pull/26150
Commits2 (2)https://github.com/PowerShell/PowerShell/pull/26150/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/26150/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/26150/files
Switch parameter standardizationhttps://github.com/PowerShell/PowerShell/pull/26150#top
logiclrdhttps://github.com/logiclrd
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
logiclrd:switch-parameter-standardizationhttps://github.com/logiclrd/PowerShell/tree/switch-parameter-standardization
https://github.com/logiclrd
logiclrdhttps://github.com/logiclrd
Oct 5, 2025https://github.com/PowerShell/PowerShell/pull/26150#issue-3484939949
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26150
#26140https://github.com/PowerShell/PowerShell/pull/26140
The SwitchParameter type implicitly converts to Booleanhttps://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
#26140https://github.com/PowerShell/PowerShell/pull/26140
#26141https://github.com/PowerShell/PowerShell/pull/26141
#26149https://github.com/PowerShell/PowerShell/issues/26149
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
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/26150
logiclrdhttps://github.com/logiclrd
October 5, 2025 11:05https://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
d7688f5https://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
0a9feabhttps://github.com/PowerShell/PowerShell/pull/26150/commits/0a9feab6acdec4425f7f82090519d93c2b07c03b
https://github.com/logiclrd
logiclrdhttps://github.com/logiclrd
TravisEz13https://github.com/TravisEz13
adityapatwardhanhttps://github.com/adityapatwardhan
daxian-dbwhttps://github.com/daxian-dbw
code ownershttps://github.com/PowerShell/PowerShell/blob/be0542b1939de6a85ebf3e0e5ffd3c7c1429d0a8/.github/CODEOWNERS#L52
October 5, 2025 16:16https://github.com/PowerShell/PowerShell/pull/26150#event-20102167673
https://github.com/logiclrd
logiclrdhttps://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
xtqqczzehttps://github.com/xtqqczze
Oct 5, 2025https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3369228561
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26150
https://github.com/xtqqczze/PowerShell-PowerShell/tree/rm-SwitchParameterIsPresenthttps://github.com/xtqqczze/PowerShell-PowerShell/tree/rm-SwitchParameterIsPresent
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26150
https://github.com/logiclrd
logiclrdhttps://github.com/logiclrd
Oct 5, 2025https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3369285020
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26150
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Oct 6, 2025https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3369921857
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26150
https://github.com/jborean93
jborean93https://github.com/jborean93
Oct 6, 2025https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3374330867
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26150
https://github.com/logiclrd
logiclrdhttps://github.com/logiclrd
Oct 6, 2025https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3374364709
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26150
https://github.com/logiclrd
logiclrdhttps://github.com/logiclrd
Oct 6, 2025https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3374369344
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26150
https://github.com/jborean93
jborean93https://github.com/jborean93
Oct 6, 2025https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3374411455
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26150
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
Oct 7, 2025https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3378370103
#11674https://github.com/PowerShell/PowerShell/issues/11674
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26150
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
Oct 7, 2025https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3378539880
#26152https://github.com/PowerShell/PowerShell/pull/26152
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26150
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Oct 15, 2025https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-3404221030
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26150
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://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, 2025https://github.com/PowerShell/PowerShell/pull/26150#event-20282810653
https://github.com/muffy86
muffy86https://github.com/muffy86
Jun 21, 2026https://github.com/PowerShell/PowerShell/pull/26150#issuecomment-4763659145
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26150
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%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 pagehttps://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
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.