René's URL Explorer Experiment


Title: .LinkType and .Target properties of System.IO.DirectoryInfo instances do not correctly reflect system-defined junctions · Issue #7127 · PowerShell/PowerShell · GitHub

Open Graph Title: .LinkType and .Target properties of System.IO.DirectoryInfo instances do not correctly reflect system-defined junctions · Issue #7127 · PowerShell/PowerShell

X Title: .LinkType and .Target properties of System.IO.DirectoryInfo instances do not correctly reflect system-defined junctions · Issue #7127 · PowerShell/PowerShell

Description: Windows Vista defined (hidden) junctions (essentially, symbolic links to directories) to redirect legacy folder paths to their modern paths; e.g, "$HOME/Cookies", "$HOME/My Documents". The .LinkType property of such paths, as returned by...

Open Graph Description: Windows Vista defined (hidden) junctions (essentially, symbolic links to directories) to redirect legacy folder paths to their modern paths; e.g, "$HOME/Cookies", "$HOME/My Documents". The .LinkTyp...

X Description: Windows Vista defined (hidden) junctions (essentially, symbolic links to directories) to redirect legacy folder paths to their modern paths; e.g, "$HOME/Cookies", "$HOME/My Documents...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/7127

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":".LinkType and .Target properties of System.IO.DirectoryInfo instances do not correctly reflect system-defined junctions","articleBody":"Windows Vista defined (hidden) junctions (essentially, symbolic links to directories) to redirect legacy folder paths to their modern paths; e.g, `\"$HOME/Cookies\"`, `\"$HOME/My Documents\"`.\r\n\r\nThe `.LinkType` property of such paths, as returned by `Get-Item` / `Get-ChildItem` should contain string `'Junction'`, but it is currently `$null`.\r\n\r\nSimilarly, the  `.Target` property (the link/junctions's target path) unexpectedly contains `$null`.\r\n\r\nNote that these junctions also have the `Hidden` and `System` attributes set (in addition to `ReparsePoint`).\r\n\r\nHowever, even manually recreating a junction with all these attributes set does not reproduce the problem.\r\n\r\nSteps to reproduce\r\n-------\r\n\r\n```powershell\r\nGet-Item -Force $HOME/Cookies | Select Mode, LinkType\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\n```none\r\nMode   LinkType\r\n----   --------\r\nd--hsl Junction\r\n```\r\n\r\nActual behavior\r\n---------------\r\n\r\n```none\r\nMode   LinkType\r\n----   --------\r\nd--hsl \r\n```\r\n\r\nNote how the `LinkType` value is missing.\r\n\r\nYou can verify that the target path is a junction as follows:\r\n`cmd /c dir /aL $HOME | sls Cookies`\r\n\r\nEnvironment data\r\n----------------\r\n\r\n```powershell\r\nPowerShell Core v6.1.0-preview.3 on Microsoft Windows 10 Pro (64-bit; Version 1709, OS Build: \r\n```\r\n","author":{"url":"https://github.com/mklement0","@type":"Person","name":"mklement0"},"datePublished":"2018-06-21T02:15:55Z","url":"https://github.com/PowerShell/PowerShell/issues/7127"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:99fefeed-8043-3e2a-c4f0-9c9b6570bbf5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id980C:109943:16E4DC:1F6521:6AFD4E5C
html-safe-nonce7e420b9c3fac234ae4b8e63d9475d45a273c66f7f49ed1a6d56abceee7c903f7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODBDOjEwOTk0MzoxNkU0REM6MUY2NTIxOjZBRkQ0RTVDIiwidmlzaXRvcl9pZCI6IjM2NjIxNDYzMTM4OTExNzE5MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac520ab01ee7efd3b876dc5a392b404b252c682acc055a2900941edce6dab291ee
hovercard-subject-tagissue:334312641
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/7127/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2d17798353533651b1091e09f7afa844f6410ef9e3ef3cafed886f79bee21f19/PowerShell/PowerShell/issues/7127
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2d17798353533651b1091e09f7afa844f6410ef9e3ef3cafed886f79bee21f19/PowerShell/PowerShell/issues/7127
og:image:altWindows Vista defined (hidden) junctions (essentially, symbolic links to directories) to redirect legacy folder paths to their modern paths; e.g, "$HOME/Cookies", "$HOME/My Documents". The .LinkTyp...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemklement0
hostnamegithub.com
expected-hostnamegithub.com
None66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e
turbo-cache-controlno-preview
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
releaseb6f01f7cb9f35f8c09949773241a3d49dd04b340
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/7127#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F7127
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%2Fissues%2F7127
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/7127
Reloadhttps://github.com/PowerShell/PowerShell/issues/7127
Reloadhttps://github.com/PowerShell/PowerShell/issues/7127
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
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/7127
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/7127
#10662https://github.com/PowerShell/PowerShell/pull/10662
.LinkType and .Target properties of System.IO.DirectoryInfo instances do not correctly reflect system-defined junctionshttps://github.com/PowerShell/PowerShell/issues/7127#top
#10662https://github.com/PowerShell/PowerShell/pull/10662
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
Resolution-FixedThe issue is fixed.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-Fixed%22
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Jun 21, 2018https://github.com/PowerShell/PowerShell/issues/7127#issue-334312641
https://github.com/PetSerAl
PetSerAlhttps://github.com/PetSerAl
on Jun 24, 2018https://github.com/PowerShell/PowerShell/issues/7127#issuecomment-399767174
https://github.com/henrivdr
Henri van der Riet (henrivdr)https://github.com/henrivdr
on Sep 26, 2019https://github.com/PowerShell/PowerShell/issues/7127#issuecomment-535538309
https://github.com/henrivdr
Henri van der Riet (henrivdr)https://github.com/henrivdr
on Sep 26, 2019https://github.com/PowerShell/PowerShell/issues/7127#issuecomment-535539343
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Sep 26, 2019https://github.com/PowerShell/PowerShell/issues/7127#issuecomment-535553229
Henri van der Riet (@henrivdr)https://github.com/henrivdr
PetSerAlhttps://github.com/PetSerAl
#10630https://github.com/PowerShell/PowerShell/issues/10630
https://github.com/henrivdr
Henri van der Riet (henrivdr)https://github.com/henrivdr
on Sep 26, 2019https://github.com/PowerShell/PowerShell/issues/7127#issuecomment-535563340
Michael Klement (@mklement0)https://github.com/mklement0
PetSerAlhttps://github.com/PetSerAl
http://chrisbensen.blogspot.com/2010/06/getfinalpathnamebyhandle.htmlhttps://github.com/PowerShell/PowerShell/issues/url
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Sep 26, 2019https://github.com/PowerShell/PowerShell/issues/7127#issuecomment-535566874
https://github.com/henrivdr
Henri van der Riet (henrivdr)https://github.com/henrivdr
on Sep 26, 2019https://github.com/PowerShell/PowerShell/issues/7127#issuecomment-535587480
https://stackoverflow.com/questions/16926127/powershell-to-resolve-junction-target-path/16926224#16926224https://stackoverflow.com/questions/16926127/powershell-to-resolve-junction-target-path/16926224#16926224
https://camo.githubusercontent.com/86d1bf2ec867a4f1fbc5c508a0756272ccf974c86e423ec78fdc281d39061307/68747470733a2f2f63646e2e737374617469632e6e65742f53697465732f737461636b6f766572666c6f772f696d672f6170706c652d746f7563682d69636f6e40322e706e673f763d373364373961383962646564
powershell to resolve junction target pathhttps://stackoverflow.com/questions/16926127/powershell-to-resolve-junction-target-path/16926224
https://github.com/henrivdr
Henri van der Riet (henrivdr)https://github.com/henrivdr
on Sep 26, 2019https://github.com/PowerShell/PowerShell/issues/7127#issuecomment-535600322
https://www.raydbg.com/2017/Token-Privileges-in-PowerShell/https://www.raydbg.com/2017/Token-Privileges-in-PowerShell/
https://www.codeproject.com/Articles/21202/Reparse-Points-in-Vistahttps://www.codeproject.com/Articles/21202/Reparse-Points-in-Vista
https://github.com/favicon-16x16.png?v=6.6.0
Token Privileges in PowerShellhttp://www.raydbg.com/2017/Token-Privileges-in-PowerShell/index.html
https://camo.githubusercontent.com/db789c234758b9da5fd1e752e3daf9346bec0f288b9b5e00c3af88a41a1042e1/68747470733a2f2f7777772e636f646570726f6a6563742e636f6d2f4b422f76697374612f52657061727365506f696e7449442f5468756d622d32313230322e6a7067
Reparse Points in Vistahttps://www.codeproject.com/Articles/21202/Reparse-Points-in-Vista
Michael Klement (mklement0)https://github.com/mklement0
on Sep 26, 2019https://github.com/PowerShell/PowerShell/issues/7127#event-2666276915
Ilya (iSazonov)https://github.com/iSazonov
Area-Cmdlets-Managementhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Area-Cmdlets-Management%22
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
on Oct 1, 2019https://github.com/PowerShell/PowerShell/issues/7127#event-2677219057
Ilya (iSazonov)https://github.com/iSazonov
on Oct 1, 2019https://github.com/PowerShell/PowerShell/issues/7127#event-2677219351
Ilya (iSazonov)https://github.com/iSazonov
completedhttps://github.com/PowerShell/PowerShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#10662https://github.com/PowerShell/PowerShell/pull/10662
on Oct 3, 2019https://github.com/PowerShell/PowerShell/issues/7127#event-2684314881
Ilya (iSazonov)https://github.com/iSazonov
Resolution-FixedThe issue is fixed.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-Fixed%22
on Nov 11, 2019https://github.com/PowerShell/PowerShell/issues/7127#event-2787576831
Ilya (iSazonov)https://github.com/iSazonov
on Nov 11, 2019https://github.com/PowerShell/PowerShell/issues/7127#event-2787576914
Ryan Yates (kilasuit)https://github.com/kilasuit
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
WG-Cmdlets-Managementhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets-Management%22
on Jul 17, 2026https://github.com/PowerShell/PowerShell/issues/7127#event-28145743590
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/7127
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/7127
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
Resolution-FixedThe issue is fixed.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-Fixed%22
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
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.