Title: new-item junction could not find item{0} · Issue #10214 · PowerShell/PowerShell · GitHub
Open Graph Title: new-item junction could not find item{0} · Issue #10214 · PowerShell/PowerShell
X Title: new-item junction could not find item{0} · Issue #10214 · PowerShell/PowerShell
Description: This bug report is regarding an error message that doesn't help. It seems that a format operation failed. Minor detail .. I am working on a UNC path. Evidently I need a complete path to the junction point, as a relative one doesn't seem ...
Open Graph Description: This bug report is regarding an error message that doesn't help. It seems that a format operation failed. Minor detail .. I am working on a UNC path. Evidently I need a complete path to the junctio...
X Description: This bug report is regarding an error message that doesn't help. It seems that a format operation failed. Minor detail .. I am working on a UNC path. Evidently I need a complete path to the jun...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/10214
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"new-item junction could not find item{0}","articleBody":"This bug report is regarding an error message that doesn't help. It seems that a format operation failed. Minor detail .. I am working on a UNC path. Evidently I need a complete path to the junction point, as a relative one doesn't seem to be acceptable. None the less the issue here is that the formatting of the error response is missing the path and instead shows `{0}`\r\n\r\n\r\n```powershell\r\nnew-item -type Junction -name 'HRETS INSERVICE' -target '.\\0001 HRETS INSERVICE'\r\n```\r\n```\r\nnew-item : Could not find item {0}.\r\nAt line:1 char:1\r\n+ new-item -type Junction -name 'HRETS INSERVICE' -target '.\\0001 HRETS ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n+ CategoryInfo : ObjectNotFound: (.\\0001 HRETS INSERVICE:String) [New-Item], InvalidOperationException\r\n+ FullyQualifiedErrorId : ItemNotFound,Microsoft.PowerShell.Commands.NewItemCommand\r\n```\r\n\r\n# Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```none\r\nName Value\r\n---- -----\r\nPSVersion 7.0.0-preview.2\r\nPSEdition Core\r\nGitCommitId 7.0.0-preview.2\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```\r\n","author":{"url":"https://github.com/msftrncs","@type":"Person","name":"msftrncs"},"datePublished":"2019-07-23T17:34:24Z","url":"https://github.com/PowerShell/PowerShell/issues/10214"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b831a0a0-552e-2327-f90a-b1ab09b773ff |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D2FC:109943:1CEA8E:27AD35:6AFD5068 |
| html-safe-nonce | d11b851c4f5d97114f3e890e060ef63cafa56b32f0d844d825885ffd13a6f9fd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkZDOjEwOTk0MzoxQ0VBOEU6MjdBRDM1OjZBRkQ1MDY4IiwidmlzaXRvcl9pZCI6Ijg3MTc3MDI2ODk2NjU2NjcxNzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 13389b3a64b62362113561986a3e1180e502e79841188106146a57828170d315 |
| hovercard-subject-tag | issue:471832005 |
| 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/10214/issue_layout |
| twitter:image | https://opengraph.githubassets.com/528814fdf883944249d8b16cf4cf79ef32ce68ea7c5c3cf02372124d001fa328/PowerShell/PowerShell/issues/10214 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/528814fdf883944249d8b16cf4cf79ef32ce68ea7c5c3cf02372124d001fa328/PowerShell/PowerShell/issues/10214 |
| og:image:alt | This bug report is regarding an error message that doesn't help. It seems that a format operation failed. Minor detail .. I am working on a UNC path. Evidently I need a complete path to the junctio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | msftrncs |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| 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 | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width