René's URL Explorer Experiment


Title: Managing location stacks via the *-Location cmdlets lacks ability to clear stacks · Issue #4643 · PowerShell/PowerShell · GitHub

Open Graph Title: Managing location stacks via the *-Location cmdlets lacks ability to clear stacks · Issue #4643 · PowerShell/PowerShell

X Title: Managing location stacks via the *-Location cmdlets lacks ability to clear stacks · Issue #4643 · PowerShell/PowerShell

Description: Location history for use with Push-Location and Pop-Location can be kept in separate history stacks, if desired. These stacks cannot be managed directly; they are indirectly managed via the *-Location cmdlets. You indirectly create a sta...

Open Graph Description: Location history for use with Push-Location and Pop-Location can be kept in separate history stacks, if desired. These stacks cannot be managed directly; they are indirectly managed via the *-Locat...

X Description: Location history for use with Push-Location and Pop-Location can be kept in separate history stacks, if desired. These stacks cannot be managed directly; they are indirectly managed via the *-Locat...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/4643

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Managing location stacks via the *-Location cmdlets lacks ability to clear stacks","articleBody":"Location history for use with `Push-Location` and `Pop-Location` can be kept in separate history _stacks_, if desired.\r\n\r\nThese stacks cannot be managed directly; they are indirectly managed via the `*-Location` cmdlets.\r\n\r\n* You indirectly _create_ a stack with `Push-Location -StackName \u003cname>`.\r\n* Once created, further locations can be pushed and popped.\r\n* `Set-Location -StackName \u003cname>` can be used to make a given stack the current stack.\r\n* `Get-Location -Stack [-StackName \u003cname>]` returns the locations currently stored in the active / given stack.\r\n\r\nHowever, there is currently no way to _clear_ a stack (other than by popping off all items through repeated `Pop-Location` calls).\r\n\r\nClearing a stack is desirable if you want to make sure that it is _empty_ before you use it - either to reuse a previously used stack or in cases where previously executed code may have created a stack by the same name.\r\n\r\nSecondarily,\r\n\r\n* there's also no way to _delete_ a stack, although, arguably, the ability to _clear_ stacks is enough.\r\n\r\n* there's no _test_ whether a stack with a given name _exists_, other than letting `Get-Location -StackName \u003cname>` _fail_; arguably, rather than worrying about explicit existence / deletion of stacks, letting `Get-Location -Stack -StackName \u003cname>` return _nothing_ (the null collection) for a nonexistent stack is preferable, given that `Get-Location -Stack` with the _unnamed_ stack already works that way.\r\n\r\nAs an aside: While calling the `.Clear()` _method_ on the stack object that `Get-Location -Stack` returns may seem like a workaround for the current inability to clear a stack using cmdlets, it doesn't actually work (only clears the object returned, not the actual stack); more importantly, `Get-Location -Stack` should arguably return an array of location paths rather than a scalar stack \r\nobject - see  ##4642.\r\n\r\nEnvironment data\r\n----------------\r\n\r\n```powershell\r\nPowerShell Core v6.0.0-beta.5\r\n```\r\n","author":{"url":"https://github.com/mklement0","@type":"Person","name":"mklement0"},"datePublished":"2017-08-22T17:31:25Z","url":"https://github.com/PowerShell/PowerShell/issues/4643"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5d025ede-da41-61d9-f827-f0e484712823
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9594:4C46A:76A4EF:AB10F9:6AFD8025
html-safe-noncecffe9af49c45195a7526183637295de90395e2caa7d72096eda4cc0f19780e79
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTk0OjRDNDZBOjc2QTRFRjpBQjEwRjk6NkFGRDgwMjUiLCJ2aXNpdG9yX2lkIjoiMzQwNzUzMjI0NzMzMzMwNjQwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac03f8b5ea83f7723074609c26d948bb13674da12f40ec40a18a16f783710053c0
hovercard-subject-tagissue:252032946
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/4643/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7fb9c7c21c1ce9f51285eeec5c7bf137f7efe16a03429943cf1d6029b15975fc/PowerShell/PowerShell/issues/4643
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7fb9c7c21c1ce9f51285eeec5c7bf137f7efe16a03429943cf1d6029b15975fc/PowerShell/PowerShell/issues/4643
og:image:altLocation history for use with Push-Location and Pop-Location can be kept in separate history stacks, if desired. These stacks cannot be managed directly; they are indirectly managed via the *-Locat...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemklement0
hostnamegithub.com
expected-hostnamegithub.com
None42d4967e3c8afca51ccac31f419a705af777226a95f025ea73387d87a306b326
turbo-cache-controlno-preview
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
release2329ceed0bc2c7b7c3b9f5f2db6abfc7b6fc3a50
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/4643#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F4643
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F4643
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/4643
Reloadhttps://github.com/PowerShell/PowerShell/issues/4643
Reloadhttps://github.com/PowerShell/PowerShell/issues/4643
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests366 (366)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/4643
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/4643
Managing location stacks via the *-Location cmdlets lacks ability to clear stackshttps://github.com/PowerShell/PowerShell/issues/4643#top
Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Discussion%22
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Aug 22, 2017https://github.com/PowerShell/PowerShell/issues/4643#issue-252032946
#4642https://github.com/PowerShell/PowerShell/issues/4642
Ilya (iSazonov)https://github.com/iSazonov
Area-Cmdlets-Managementhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Area-Cmdlets-Management%22
Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Discussion%22
on Aug 25, 2017https://github.com/PowerShell/PowerShell/issues/4643#event-1221405518
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/4643#event-10977910671
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
completedhttps://github.com/PowerShell/PowerShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 23, 2023https://github.com/PowerShell/PowerShell/issues/4643#event-11047824426
https://github.com/IAmIlliest
IAmIlliesthttps://github.com/IAmIlliest
on Mar 19, 2025https://github.com/PowerShell/PowerShell/issues/4643#issuecomment-2735064169
Ryan Yates (kilasuit)https://github.com/kilasuit
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
WG-Cmdlets-Managementhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets-Management%22
on Jul 18, 2026https://github.com/PowerShell/PowerShell/issues/4643#event-28146807783
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/4643
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/4643
Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Discussion%22
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
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.