Title: Set-Location \\wsl$\Ubuntu throws an error · Issue #10360 · PowerShell/PowerShell · GitHub
Open Graph Title: Set-Location \\wsl$\Ubuntu throws an error · Issue #10360 · PowerShell/PowerShell
X Title: Set-Location \\wsl$\Ubuntu throws an error · Issue #10360 · PowerShell/PowerShell
Description: Steps to reproduce execute when wsl2 is up and running Set-Location \\wsl$\Ubuntu Expected behavior successfully changes directory PS Microsoft.PowerShell.Core\FileSystem::\\wsl$\Ubuntu> Actual behavior throws an error Set-Location : Can...
Open Graph Description: Steps to reproduce execute when wsl2 is up and running Set-Location \\wsl$\Ubuntu Expected behavior successfully changes directory PS Microsoft.PowerShell.Core\FileSystem::\\wsl$\Ubuntu> Actual beh...
X Description: Steps to reproduce execute when wsl2 is up and running Set-Location \\wsl$\Ubuntu Expected behavior successfully changes directory PS Microsoft.PowerShell.Core\FileSystem::\\wsl$\Ubuntu> Actual ...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/10360
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Set-Location \\\\wsl$\\Ubuntu throws an error","articleBody":"# Steps to reproduce\r\n* execute when wsl2 is up and running\r\n ```powershell\r\n Set-Location \\\\wsl$\\Ubuntu\r\n ```\r\n\r\n# Expected behavior\r\n* successfully changes directory\r\n```\r\nPS Microsoft.PowerShell.Core\\FileSystem::\\\\wsl$\\Ubuntu>\r\n```\r\n\r\n# Actual behavior\r\n* throws an error\r\n```\r\nSet-Location : Cannot process argument because the value of argument \"path\" is not valid. Change the value of the \"path\" argument and run the operation again. At line:1 char:1\r\n+ Set-Location \\\\wsl$\\Ubuntu\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n+ CategoryInfo : InvalidArgument: (:) [Set-Location], PSArgumentException\r\n+ FullyQualifiedErrorId : Argument,Microsoft.PowerShell.Commands.SetLocationCommand\r\n```\r\n\r\n# Environment data\r\n```\r\nName Value\r\n---- -----\r\nPSVersion 6.2.2\r\nPSEdition Core\r\nGitCommitId 6.2.2\r\nOS Microsoft Windows 10.0.18956\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\r\nNote: Same behavior on `7.0.0-preview.2`, but everything is working on `Windows Powershell 5.1`\r\n","author":{"url":"https://github.com/archilkarchava","@type":"Person","name":"archilkarchava"},"datePublished":"2019-08-15T10:15:48Z","url":"https://github.com/PowerShell/PowerShell/issues/10360"}
| 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:2c900e12-80b4-5205-953f-5dda5f15b4b5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C668:BB03C:E7961:14536A:6AFD4C84 |
| html-safe-nonce | 519d48f8c9ed798f01d56a23602dcb5ad712bb849e28f91352d2041f57b22dba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjY4OkJCMDNDOkU3OTYxOjE0NTM2QTo2QUZENEM4NCIsInZpc2l0b3JfaWQiOiI4MjYzMzgxNTQ3MzEwOTkyNTE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 045f332ae57be9434bcc6a5d7033af4ab5c0bea22ca1ff4511f95e491ada9b5e |
| hovercard-subject-tag | issue:481086390 |
| 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/10360/issue_layout |
| twitter:image | https://opengraph.githubassets.com/62b71df0627db78724b93881d42dd1ee85c378df3c548e4a71e6f3990e783ce8/PowerShell/PowerShell/issues/10360 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/62b71df0627db78724b93881d42dd1ee85c378df3c548e4a71e6f3990e783ce8/PowerShell/PowerShell/issues/10360 |
| og:image:alt | Steps to reproduce execute when wsl2 is up and running Set-Location \\wsl$\Ubuntu Expected behavior successfully changes directory PS Microsoft.PowerShell.Core\FileSystem::\\wsl$\Ubuntu> Actual beh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | archilkarchava |
| 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