René's URL Explorer Experiment


Title: Fix GetCorrectCasedPath() to first check if any system file entries is returned before calling First() by SteveL-MSFT · Pull Request #10930 · PowerShell/PowerShell · GitHub

Open Graph Title: Fix GetCorrectCasedPath() to first check if any system file entries is returned before calling First() by SteveL-MSFT · Pull Request #10930 · PowerShell/PowerShell

X Title: Fix GetCorrectCasedPath() to first check if any system file entries is returned before calling First() by SteveL-MSFT · Pull Request #10930 · PowerShell/PowerShell

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

Open Graph Description: PR Summary On WSL, if you have a folder in /mnt/c/Users/steve/Blah and try: test-path /mnt/c/Users/steve/blah -pathtype container you get an error because .First() is being called on an empty strin...

X Description: PR Summary On WSL, if you have a folder in /mnt/c/Users/steve/Blah and try: test-path /mnt/c/Users/steve/blah -pathtype container you get an error because .First() is being called on an empty strin...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:9fc1864b-0709-4ada-6950-d07da68d2906
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id83F8:1FA32F:1D6425:27A1C7:6AFD4457
html-safe-nonce6d8ce59278ffde93112a2b6732926f505c66284ce055dc975157f195bacced26
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0Y4OjFGQTMyRjoxRDY0MjU6MjdBMUM3OjZBRkQ0NDU3IiwidmlzaXRvcl9pZCI6IjQzODg0NTAyMzc0MDQ3NTkxMjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5470f13a6b061cb497aad7a1fd22ea75e8e1ab84016743b633e278cb59cf63a9
hovercard-subject-tagpull_request:333400002
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/10930/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/02b5f165f06543926832762f14aedf7298fe9c068da5ac1f94ba2d7946032b97/PowerShell/PowerShell/pull/10930
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/02b5f165f06543926832762f14aedf7298fe9c068da5ac1f94ba2d7946032b97/PowerShell/PowerShell/pull/10930
og:image:altPR Summary On WSL, if you have a folder in /mnt/c/Users/steve/Blah and try: test-path /mnt/c/Users/steve/blah -pathtype container you get an error because .First() is being called on an empty strin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSteveL-MSFT
hostnamegithub.com
expected-hostnamegithub.com
Nonebdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474
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
release556dd37bb0aceffb25724e151b5d858b3265b40b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/10930#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F10930
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F10930
Sign uphttps://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/10930
Reloadhttps://github.com/PowerShell/PowerShell/pull/10930
Reloadhttps://github.com/PowerShell/PowerShell/pull/10930
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests365 (365)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
Andrew (anmenaga)https://github.com/anmenaga
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SteveL-MSFT:getexactpathhttps://github.com/SteveL-MSFT/PowerShell/tree/getexactpath
Conversationhttps://github.com/PowerShell/PowerShell/pull/10930
Commits2 (2)https://github.com/PowerShell/PowerShell/pull/10930/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/10930/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/10930/files
Fix GetCorrectCasedPath() to first check if any system file entries is returned before calling First()https://github.com/PowerShell/PowerShell/pull/10930#top
Andrew (anmenaga)https://github.com/anmenaga
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SteveL-MSFT:getexactpathhttps://github.com/SteveL-MSFT/PowerShell/tree/getexactpath
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Oct 29, 2019https://github.com/PowerShell/PowerShell/pull/10930#issue-513651163
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10930
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
Work in Progresshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress
Breaking changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes
Experimental feature(s) neededhttps://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/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
PowerShell Editor Serviceshttps://github.com/PowerShell/PowerShellEditorServices
PowerShell extensionhttps://github.com/PowerShell/vscode-powershell
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
EditorSyntaxhttps://github.com/PowerShell/EditorSyntax
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10930
https://github.com/SteveL-MSFT
add check if systementries returned anything before calling First()https://github.com/PowerShell/PowerShell/pull/10930/commits/344a919520d6b1e94f28580d37bae17617c40e26
344a919https://github.com/PowerShell/PowerShell/pull/10930/commits/344a919520d6b1e94f28580d37bae17617c40e26
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Andrew (anmenaga)https://github.com/anmenaga
code ownerhttps://github.com/PowerShell/PowerShell/blob/0effc645345e34cb4c63665cff7a854b649c5b9f/.github/CODEOWNERS#L61
October 29, 2019 02:10https://github.com/PowerShell/PowerShell/pull/10930#event-2750612283
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Andrew (anmenaga)https://github.com/anmenaga
Oct 29, 2019https://github.com/PowerShell/PowerShell/pull/10930#event-2750612826
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
Oct 29, 2019https://github.com/PowerShell/PowerShell/pull/10930#issuecomment-547276494
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10930
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10930
https://github.com/anmenaga
Andrew (anmenaga)https://github.com/anmenaga
Oct 29, 2019 https://github.com/PowerShell/PowerShell/pull/10930#pullrequestreview-308711786
View reviewed changes https://github.com/PowerShell/PowerShell/pull/10930/files/344a919520d6b1e94f28580d37bae17617c40e26
Andrew (anmenaga)https://github.com/anmenaga
https://github.com/PowerShell/PowerShell/pull/10930#pullrequestreview-308711786
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10930
src/System.Management.Automation/namespaces/FileSystemProvider.cshttps://github.com/PowerShell/PowerShell/pull/10930/files/344a919520d6b1e94f28580d37bae17617c40e26#diff-3de7b3fa15124e23cfb93904c79b222c300015318c577e73a04526bf3e9b60ef
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10930
src/System.Management.Automation/namespaces/FileSystemProvider.cshttps://github.com/PowerShell/PowerShell/pull/10930/files/344a919520d6b1e94f28580d37bae17617c40e26#diff-3de7b3fa15124e23cfb93904c79b222c300015318c577e73a04526bf3e9b60ef
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10930
https://github.com/SteveL-MSFT
address Andrew's feedbackhttps://github.com/PowerShell/PowerShell/pull/10930/commits/932de17be4ed81cf018b818aecda1bd2fc22d335
932de17https://github.com/PowerShell/PowerShell/pull/10930/commits/932de17be4ed81cf018b818aecda1bd2fc22d335
https://github.com/anmenaga
Andrew (anmenaga)https://github.com/anmenaga
CL-General https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
Oct 30, 2019https://github.com/PowerShell/PowerShell/pull/10930#event-2757090626
https://github.com/anmenaga
Andrew (anmenaga)https://github.com/anmenaga
Oct 30, 2019 https://github.com/PowerShell/PowerShell/pull/10930#pullrequestreview-309413342
View reviewed changes https://github.com/PowerShell/PowerShell/pull/10930/files/932de17be4ed81cf018b818aecda1bd2fc22d335
https://github.com/anmenaga
Andrew (anmenaga)https://github.com/anmenaga
7.0.0-preview.6https://github.com/PowerShell/PowerShell/milestone/74
Oct 30, 2019https://github.com/PowerShell/PowerShell/pull/10930#event-2757356187
https://github.com/anmenaga
Andrew (anmenaga)https://github.com/anmenaga
Oct 31, 2019 https://github.com/PowerShell/PowerShell/pull/10930#pullrequestreview-310104397
View reviewed changes https://github.com/PowerShell/PowerShell/pull/10930/files/932de17be4ed81cf018b818aecda1bd2fc22d335
https://github.com/anmenaga
Andrew (anmenaga)https://github.com/anmenaga
2297627https://github.com/PowerShell/PowerShell/commit/229762737dcaa25e557bfa3c4103c0019f686edf
Oct 31, 2019https://github.com/PowerShell/PowerShell/pull/10930#event-2760995576
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
October 31, 2019 19:07https://github.com/PowerShell/PowerShell/pull/10930#event-2761072916
https://github.com/ghost
Deleted user (ghost)https://github.com/ghost
Nov 21, 2019https://github.com/PowerShell/PowerShell/pull/10930#issuecomment-557303289
Release Noteshttps://github.com/PowerShell/PowerShell/releases/tag/v7.0.0-preview.6
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10930
Thatgfsj (Thatgfsj)https://github.com/Thatgfsj
Aug 6, 2026 https://github.com/PowerShell/PowerShell/pull/10930#ref-commit-88a965f
https://github.com/SteveL-MSFT
Fix GetCorrectCasedPath() to first check if any system file entries i…https://github.com/Thatgfsj-contribs/PowerShell/commit/88a965f210e924f48fc62a63029af3c57fc3264d
88a965fhttps://github.com/Thatgfsj-contribs/PowerShell/commit/88a965f210e924f48fc62a63029af3c57fc3264d
PowerShell#10930https://github.com/PowerShell/PowerShell/pull/10930
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%2F10930
https://github.com/anmenaga
Andrew (anmenaga) https://github.com/anmenaga
https://github.com/PowerShell/PowerShell/pull/10930/files/932de17be4ed81cf018b818aecda1bd2fc22d335
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10930
https://github.com/anmenaga
Andrew (anmenaga) https://github.com/anmenaga
CL-General https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
7.0.0-preview.6 https://github.com/PowerShell/PowerShell/milestone/74
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10930
https://github.com/SteveL-MSFT
https://github.com/iSazonov
https://github.com/anmenaga
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.