René's URL Explorer Experiment


Title: Move processing of `-WorkingDirectory` before processing of profiles for pwsh.exe by SteveL-MSFT · Pull Request #8079 · PowerShell/PowerShell · GitHub

Open Graph Title: Move processing of `-WorkingDirectory` before processing of profiles for pwsh.exe by SteveL-MSFT · Pull Request #8079 · PowerShell/PowerShell

X Title: Move processing of `-WorkingDirectory` before processing of profiles for pwsh.exe by SteveL-MSFT · Pull Request #8079 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: PR Summary Without this change, the processing of -WorkingDirectory happens after processing $PROFILE (all the profiles). This means that any $PROFILE that explicitly uses Set-Location to a desire...

X Description: PR Summary Without this change, the processing of -WorkingDirectory happens after processing $PROFILE (all the profiles). This means that any $PROFILE that explicitly uses Set-Location to a desire...

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/8079

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:66f3cf51-4cd5-bcef-cc8b-f5e9dbb8fd33
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8C8E:3E6EC9:461D2:622E9:6A5839D3
html-safe-nonce95a8ca805a6375b336d920fbc5cd51c1b46c2bb587fadc891c4af59ad28d8dac
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzhFOjNFNkVDOTo0NjFEMjo2MjJFOTo2QTU4MzlEMyIsInZpc2l0b3JfaWQiOiI1ODk0ODA0NzEyNDU3Nzc5NjY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb1e9a64f97719c68ee680b920937a6bc30b6639e31749a1b311fe04ca1e9afa1
hovercard-subject-tagpull_request:224143864
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/8079/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3ff98da61aa4e33fd0e3d13088820471164bbb44cd3882b45fbd25242702fa77/PowerShell/PowerShell/pull/8079
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3ff98da61aa4e33fd0e3d13088820471164bbb44cd3882b45fbd25242702fa77/PowerShell/PowerShell/pull/8079
og:image:altPR Summary Without this change, the processing of -WorkingDirectory happens after processing $PROFILE (all the profiles). This means that any $PROFILE that explicitly uses Set-Location to a desire...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSteveL-MSFT
hostnamegithub.com
expected-hostnamegithub.com
None5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/8079#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F8079
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F8079
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/pull/8079
Reloadhttps://github.com/PowerShell/PowerShell/pull/8079
Reloadhttps://github.com/PowerShell/PowerShell/pull/8079
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/8079
PowerShell https://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Notifications https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Fork 8.4k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Star 54.4k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Code https://github.com/PowerShell/PowerShell
Issues 1.2k https://github.com/PowerShell/PowerShell/issues
Pull requests 291 https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security and quality 3 https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
Code https://github.com/PowerShell/PowerShell
Issues https://github.com/PowerShell/PowerShell/issues
Pull requests https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security and quality https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
adityapatwardhanhttps://github.com/adityapatwardhan
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SteveL-MSFT:console-working-dirhttps://github.com/SteveL-MSFT/PowerShell/tree/console-working-dir
Conversationhttps://github.com/PowerShell/PowerShell/pull/8079
Commits1 (1)https://github.com/PowerShell/PowerShell/pull/8079/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/8079/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/8079/files
Move processing of -WorkingDirectory before processing of profiles for pwsh.exehttps://github.com/PowerShell/PowerShell/pull/8079#top
adityapatwardhanhttps://github.com/adityapatwardhan
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SteveL-MSFT:console-working-dirhttps://github.com/SteveL-MSFT/PowerShell/tree/console-working-dir
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
Oct 19, 2018https://github.com/PowerShell/PowerShell/pull/8079#issue-371770403
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/8079
#7895https://github.com/PowerShell/PowerShell/issues/7895
#8144https://github.com/PowerShell/PowerShell/issues/8144
PR has a meaningful titlehttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Summarized changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Change is not breakinghttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes
Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright headerhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Work in Progresshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress
Documentation neededhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Make sure you've added a new test if existing tests do not effectively test the code changedhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting
Add [feature] if the change is significant or affects feature testshttps://github.com/PowerShell/PowerShell/blob/master/docs/testing-guidelines/testing-guidelines.md#requesting-additional-tests-for-a-pr
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/8079
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
Review - Committee https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Committee%22
Breaking-Change https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABreaking-Change
Oct 19, 2018https://github.com/PowerShell/PowerShell/pull/8079#event-1913690114
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
adityapatwardhanhttps://github.com/adityapatwardhan
Oct 19, 2018https://github.com/PowerShell/PowerShell/pull/8079#event-1913690121
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
adityapatwardhanhttps://github.com/adityapatwardhan
anmenagahttps://github.com/anmenaga
October 19, 2018 01:14https://github.com/PowerShell/PowerShell/pull/8079#event-1913690124
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
daxian-dbwhttps://github.com/daxian-dbw
code ownerhttps://github.com/PowerShell/PowerShell/blob/1dc4a7903f6a579640d3cf9e7104512e85b4455c/.github/CODEOWNERS#L35
October 19, 2018 01:14https://github.com/PowerShell/PowerShell/pull/8079#event-1913690130
https://github.com/SteveL-MSFT
move processing of -WorkingDirectory before processing of profileshttps://github.com/PowerShell/PowerShell/pull/8079/commits/b51af8476c34d6883e24dfa43d9023a19b534e87
b51af84https://github.com/PowerShell/PowerShell/pull/8079/commits/b51af8476c34d6883e24dfa43d9023a19b534e87
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
force-pushedhttps://github.com/PowerShell/PowerShell/compare/50b5a96d2d461ed5b1ea37f1300b44c591e5d992..b51af8476c34d6883e24dfa43d9023a19b534e87
50b5a96https://github.com/PowerShell/PowerShell/commit/50b5a96d2d461ed5b1ea37f1300b44c591e5d992
b51af84https://github.com/PowerShell/PowerShell/commit/b51af8476c34d6883e24dfa43d9023a19b534e87
Compare https://github.com/PowerShell/PowerShell/compare/50b5a96d2d461ed5b1ea37f1300b44c591e5d992..b51af8476c34d6883e24dfa43d9023a19b534e87
October 19, 2018 01:36https://github.com/PowerShell/PowerShell/pull/8079#event-1913711444
https://github.com/bergmeister
bergmeisterhttps://github.com/bergmeister
Oct 19, 2018 https://github.com/PowerShell/PowerShell/pull/8079#pullrequestreview-166468113
View reviewed changes https://github.com/PowerShell/PowerShell/pull/8079/files/b51af8476c34d6883e24dfa43d9023a19b534e87
bergmeisterhttps://github.com/bergmeister
https://github.com/PowerShell/PowerShell/pull/8079#pullrequestreview-166468113
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/8079
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
Committee-Reviewed https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACommittee-Reviewed
Review - Committee https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Committee%22
Oct 24, 2018https://github.com/PowerShell/PowerShell/pull/8079#event-1924791156
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
Oct 24, 2018https://github.com/PowerShell/PowerShell/pull/8079#issuecomment-432850695
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/8079
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/8079
https://github.com/anmenaga
anmenagahttps://github.com/anmenaga
Oct 25, 2018 https://github.com/PowerShell/PowerShell/pull/8079#pullrequestreview-168581218
View reviewed changes https://github.com/PowerShell/PowerShell/pull/8079/files/b51af8476c34d6883e24dfa43d9023a19b534e87
anmenagahttps://github.com/anmenaga
https://github.com/PowerShell/PowerShell/pull/8079#pullrequestreview-168581218
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/8079
https://github.com/HemantMahawar
HemantMahawarhttps://github.com/HemantMahawar
Oct 29, 2018 https://github.com/PowerShell/PowerShell/pull/8079#ref-issue-375163972
$PWD, at launch from taskbar, should default to $home on Windows #8144 https://github.com/PowerShell/PowerShell/issues/8144
https://github.com/adityapatwardhan
adityapatwardhanhttps://github.com/adityapatwardhan
Oct 29, 2018 https://github.com/PowerShell/PowerShell/pull/8079#pullrequestreview-169513580
View reviewed changes https://github.com/PowerShell/PowerShell/pull/8079/files/b51af8476c34d6883e24dfa43d9023a19b534e87
https://github.com/adityapatwardhan
adityapatwardhanhttps://github.com/adityapatwardhan
b1e2745https://github.com/PowerShell/PowerShell/commit/b1e2745b5315a9511ff0e0f2ecff42f3f8db3e3b
Oct 29, 2018https://github.com/PowerShell/PowerShell/pull/8079#event-1933433544
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
March 10, 2020 21:01https://github.com/PowerShell/PowerShell/pull/8079#event-3116434319
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F8079
https://github.com/adityapatwardhan
adityapatwardhan https://github.com/adityapatwardhan
https://github.com/PowerShell/PowerShell/pull/8079/files/b51af8476c34d6883e24dfa43d9023a19b534e87
https://github.com/daxian-dbw
daxian-dbw https://github.com/daxian-dbw
https://github.com/bergmeister
bergmeister https://github.com/bergmeister
https://github.com/PowerShell/PowerShell/pull/8079/files/b51af8476c34d6883e24dfa43d9023a19b534e87
https://github.com/anmenaga
anmenaga https://github.com/anmenaga
https://github.com/PowerShell/PowerShell/pull/8079/files/b51af8476c34d6883e24dfa43d9023a19b534e87
https://github.com/adityapatwardhan
adityapatwardhan https://github.com/adityapatwardhan
Breaking-Change https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABreaking-Change
Committee-Reviewed https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACommittee-Reviewed
$PWD, at launch from taskbar, should default to $home on Windows https://github.com/PowerShell/PowerShell/issues/8144
When using Workingdirectory parameter on pwsh, working directory gets set AFTER execution of $PROFILE script https://github.com/PowerShell/PowerShell/issues/7895
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/8079
https://github.com/SteveL-MSFT
https://github.com/bergmeister
https://github.com/anmenaga
https://github.com/adityapatwardhan
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.