Title: $PWD, at launch from taskbar, should default to $home on Windows · Issue #8144 · PowerShell/PowerShell · GitHub
Open Graph Title: $PWD, at launch from taskbar, should default to $home on Windows · Issue #8144 · PowerShell/PowerShell
X Title: $PWD, at launch from taskbar, should default to $home on Windows · Issue #8144 · PowerShell/PowerShell
Description: Steps to reproduce Set the content of $PROFILE.CurrentUserAllHosts (profile.ps1 under $home\Documents\PowerShell) to print $PWD (such as Write-Verbose -Message $pwd -Verbose) Launch PWSH or PWSH-Preview from taskbar icon Does NOT repro i...
Open Graph Description: Steps to reproduce Set the content of $PROFILE.CurrentUserAllHosts (profile.ps1 under $home\Documents\PowerShell) to print $PWD (such as Write-Verbose -Message $pwd -Verbose) Launch PWSH or PWSH-Pr...
X Description: Steps to reproduce Set the content of $PROFILE.CurrentUserAllHosts (profile.ps1 under $home\Documents\PowerShell) to print $PWD (such as Write-Verbose -Message $pwd -Verbose) Launch PWSH or PWSH-Pr...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/8144
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"$PWD, at launch from taskbar, should default to $home on Windows","articleBody":"Steps to reproduce\r\n------------------\r\n- Set the content of `$PROFILE.CurrentUserAllHosts` (`profile.ps1` under `$home\\Documents\\PowerShell`) to print $PWD (such as `Write-Verbose -Message $pwd -Verbose`)\r\n- Launch PWSH or PWSH-Preview from taskbar icon\r\n- Does **NOT** repro if starting PWSH or PWSH-Preview using full path\r\n\r\n\u003e Note: The shortcut **Target** property is set to `\"C:\\Program Files\\PowerShell\\6 (or 6-preview)\\pwsh.exe\" -WorkingDirectory ~`\r\n\r\nExpected behavior\r\n-----------------\r\n- It should list user's `$home` as the current working directory\r\n\r\nActual behavior\r\n---------------\r\n- It produces `VERBOSE: C:\\WINDOWS\\system32` as the output\r\n\r\nEnvironment data\r\n----------------\r\n```powershell\r\n\u003e $PSVersionTable\r\nName Value\r\n---- -----\r\nPSVersion 6.1.0 or 6.2.0-preview.1\r\nPSEdition Core\r\nGitCommitId 6.1.0 or 6.2.0-preview.1\r\nOS Microsoft Windows 10.0.17763\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/HemantMahawar","@type":"Person","name":"HemantMahawar"},"datePublished":"2018-10-29T18:47:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/8144/PowerShell/issues/8144"}
| 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:b63c87a4-16a2-14b9-60ba-0d0cdc517a73 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB56:2056DC:A5044:D6670:6A594FC8 |
| html-safe-nonce | d30a0c5587d599e27f9d49b7f3206d2cf836efc597470abb3016f5bbb5d122e5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjU2OjIwNTZEQzpBNTA0NDpENjY3MDo2QTU5NEZDOCIsInZpc2l0b3JfaWQiOiI4NjQxODA3MjI0NTEwNDM1MjczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 80ab444b3db47237eb7d9661295fe60bc99ec9f7242c5c95972666c0053f86fc |
| hovercard-subject-tag | issue:375163972 |
| 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/8144/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7c1e571c112ef733d6bc7e2a4695dfdcb0162ba279d91c69e288fb152411091f/PowerShell/PowerShell/issues/8144 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7c1e571c112ef733d6bc7e2a4695dfdcb0162ba279d91c69e288fb152411091f/PowerShell/PowerShell/issues/8144 |
| og:image:alt | Steps to reproduce Set the content of $PROFILE.CurrentUserAllHosts (profile.ps1 under $home\Documents\PowerShell) to print $PWD (such as Write-Verbose -Message $pwd -Verbose) Launch PWSH or PWSH-Pr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | HemantMahawar |
| hostname | github.com |
| expected-hostname | github.com |
| None | a540949572872b935b393b36db38922db390ae71c859537d741b8f3eb7e545b5 |
| 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 | 5f35ad1fb16417d6e6774c537b62a2fe92222907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width