Title: New-Item -ItemType SymbolicLink - can't create functioning relative links · Issue #12784 · PowerShell/PowerShell · GitHub
Open Graph Title: New-Item -ItemType SymbolicLink - can't create functioning relative links · Issue #12784 · PowerShell/PowerShell
X Title: New-Item -ItemType SymbolicLink - can't create functioning relative links · Issue #12784 · PowerShell/PowerShell
Description: Steps to reproduce Follow example 7 here: [ https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/new-item?view=powershell-7 1. Create a folder eg. named "power" 2. In this (power) folder create an empty fold...
Open Graph Description: Steps to reproduce Follow example 7 here: [ https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/new-item?view=powershell-7 1. Create a folder eg. named "power" 2. In ...
X Description: Steps to reproduce Follow example 7 here: [ https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/new-item?view=powershell-7 1. Create a folder eg. named "power&qu...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/12784
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"New-Item -ItemType SymbolicLink - can't create functioning relative links ","articleBody":"# Steps to reproduce\r\nFollow example 7 here: [ https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/new-item?view=powershell-7\r\n```powershell](Link)!\r\n1. Create a folder eg. named \"power\"\r\n2. In this (power) folder create an empty folder named \"Notice\"\r\n3. In this (power) folder create a file named \"Notice.txt\"\r\n4. As admin run this script: \r\nNew-Item -ItemType SymbolicLink -Path .\\link -Target .\\Notice\r\n```\r\n\r\n# Expected behavior\r\n\r\nFunctioning link to Notice named \"link\"\r\n\r\n# Actual behavior\r\n\r\nlink not working\r\n\r\n#Note\r\nWorking perfectly with absolute path and in cmd\r\ncmd \u003emklink /d \"./link2\" \"./Notice\" \r\n\r\n# Environment data\r\n\r\nPS C:\\retus\\test2Die\\power problems\u003e $psversiontable\r\n\r\nName Value\r\n---- -----\r\nPSVersion 7.1.0-preview.3\r\nPSEdition Core\r\nGitCommitId 7.1.0-preview.3\r\nOS Microsoft Windows 10.0.18362\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n","author":{"url":"https://github.com/sukkergris","@type":"Person","name":"sukkergris"},"datePublished":"2020-05-25T16:03:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/12784/PowerShell/issues/12784"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b2b083e7-6fb7-85c6-5bae-169e6033287f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BE36:2C47A:3EE1B9:5757B1:6A551B95 |
| html-safe-nonce | fcaf0a7ca8b3b3a7f1534aceb403c89483a9784b6dd8735eca4fd25fc46e7f48 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTM2OjJDNDdBOjNFRTFCOTo1NzU3QjE6NkE1NTFCOTUiLCJ2aXNpdG9yX2lkIjoiNzM5NTMwNDIyMzY3ODk5NTM0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bcca354b8b41b4b16b16a0bda73b3eafd0bf0e57bb17a4bbf5cc2089180715bc |
| hovercard-subject-tag | issue:624381684 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/12784/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7b4aa61bf04613e468bfb6e76be7f8f249cde2992248a34774e44985f689f573/PowerShell/PowerShell/issues/12784 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7b4aa61bf04613e468bfb6e76be7f8f249cde2992248a34774e44985f689f573/PowerShell/PowerShell/issues/12784 |
| og:image:alt | Steps to reproduce Follow example 7 here: [ https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/new-item?view=powershell-7 1. Create a folder eg. named "power" 2. In ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sukkergris |
| hostname | github.com |
| expected-hostname | github.com |
| None | 682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5 |
| turbo-cache-control | no-preview |
| 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 | 3b6d37c6470adadff4194742daaab9a817cc4980 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width