Title: Bug with set-location/cd/pushd command · Issue #12172 · PowerShell/PowerShell · GitHub
Open Graph Title: Bug with set-location/cd/pushd command · Issue #12172 · PowerShell/PowerShell
X Title: Bug with set-location/cd/pushd command · Issue #12172 · PowerShell/PowerShell
Description: Bug with set-location/cd/pushd command step to reproduce PS C:\Windows\System32> $PSVersionTable Name Value ---- ----- PSVersion 7.0.0 PSEdition Core GitCommitId 7.0.0 OS Microsoft Windows 6.3.9600 Platform Win32NT PSCompatibleVersions {...
Open Graph Description: Bug with set-location/cd/pushd command step to reproduce PS C:\Windows\System32> $PSVersionTable Name Value ---- ----- PSVersion 7.0.0 PSEdition Core GitCommitId 7.0.0 OS Microsoft Windows 6.3.9600...
X Description: Bug with set-location/cd/pushd command step to reproduce PS C:\Windows\System32> $PSVersionTable Name Value ---- ----- PSVersion 7.0.0 PSEdition Core GitCommitId 7.0.0 OS Microsoft Windows 6.3.9...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/12172
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug with set-location/cd/pushd command","articleBody":"Bug with set-location/cd/pushd command\r\n\r\n### step to reproduce\r\n\r\n\r\n```\r\nPS C:\\Windows\\System32> $PSVersionTable\r\n\r\nName Value\r\n---- -----\r\nPSVersion 7.0.0\r\nPSEdition Core\r\nGitCommitId 7.0.0\r\nOS Microsoft Windows 6.3.9600\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\nPS C:\\Windows\\System32> cd /\r\nPS C:\\Windows\\System32> # work as expected\r\nPS C:\\> cd .\\Windows\\System32\\\r\n\r\nPS C:\\Windows\\System32> # ..but if i ran get-wmiobject...\r\nPS C:\\Windows\\System32> get-wmiobject win32_Bios\r\n\r\nSMBIOSBIOSVersion : xxxx\r\nManufacturer : xxxx\r\nName : xxxxx\r\nSerialNumber : xxxxx\r\nVersion : xxxxx\r\n\r\n\r\nPS C:\\Windows\\System32> # ... to work with Windows Powershell modules set-location/cd/pushd command's don't work as expected \r\nPS C:\\Windows\\System32> cd /\r\nPS C:\\Windows\\System32> cd \\\r\nPS C:\\Windows\\System32> Set-Location c:\r\nPS C:\\Windows\\System32> Set-Location /\r\nPS C:\\Windows\\System32> Set-Location \\\r\nPS C:\\Windows\\System32> pushd \\\r\nPS C:\\Windows\\System32> pushd /\r\nPS C:\\Windows\\System32>\r\n```","author":{"url":"https://github.com/p0W3RH311","@type":"Person","name":"p0W3RH311"},"datePublished":"2020-03-21T09:15:06Z","url":"https://github.com/PowerShell/PowerShell/issues/12172"}
| 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:7ec01edf-6c22-6d5d-fed8-5c603e9c7407 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8596:73228:1B6AA3:25034D:6AFD4313 |
| html-safe-nonce | f33de28df1c2cf1c826b26fa0c29e96d8f7ccffb4f2cc7bfa555ce066817b519 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTk2OjczMjI4OjFCNkFBMzoyNTAzNEQ6NkFGRDQzMTMiLCJ2aXNpdG9yX2lkIjoiMzIxMjg5NjY4NjA5OTQ4MTM2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d8c0ce8e820ddc670d668ac9174d2dac8cb4d2955cf28a1f7012cc42b8eca279 |
| hovercard-subject-tag | issue:585461716 |
| 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/12172/issue_layout |
| twitter:image | https://opengraph.githubassets.com/da3aa6cfc2a14a5e97d430e6e104be5ca14d30c6c1ad99f03e005e436b9be422/PowerShell/PowerShell/issues/12172 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/da3aa6cfc2a14a5e97d430e6e104be5ca14d30c6c1ad99f03e005e436b9be422/PowerShell/PowerShell/issues/12172 |
| og:image:alt | Bug with set-location/cd/pushd command step to reproduce PS C:\Windows\System32> $PSVersionTable Name Value ---- ----- PSVersion 7.0.0 PSEdition Core GitCommitId 7.0.0 OS Microsoft Windows 6.3.9600... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | p0W3RH311 |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| 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 | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width