Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Powershell 5.0 from the dynamic profiles #5459

Closed
edyu opened this issue Apr 22, 2020 · 2 comments
Closed

Remove Powershell 5.0 from the dynamic profiles #5459

edyu opened this issue Apr 22, 2020 · 2 comments
Labels
Issue-Question For questions or discussion Needs-Tag-Fix Doesn't match tag requirements Resolution-Answered Related to questions that have been answered

Comments

@edyu
Copy link

edyu commented Apr 22, 2020

Environment

Windows build number: 10.0.19608.0
Windows Terminal version (if applicable): 0.10

Any other software?

I also have powershellcore v7.0 installed as well.

Steps to reproduce

The profiles.json doesn't have the "dynamically generated" Windows Powershell 5.0 defined anywhere but it keeps on showing up on the menu. I already created one for the PowerShellCore so there is no need to have it being there. Because it's "automatically" generated, there is no way to use profiles.json to make it "hidden."

Expected behavior

I expect that it's either in the generated profiles.json so I can make it hidden or doesn't even show up in the first place.

Actual behavior

The Windows PowerShell option is always the last option and there is no way to hide it or remove it.

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Apr 22, 2020
@DHowett-MSFT
Copy link
Contributor

There's a way to hide it; it was in the original profile block that you may have removed. Every profile starts out with a "stub" in the settings file that you can use to customize it or hide it.

If you need to hide the default "Windows PowerShell" profile and you've already deleted that stub, you can re-add it and set hidden to true.

            {
                /* Windows PowerShell - hidden */
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "hidden": true
            }

@DHowett-MSFT DHowett-MSFT added Issue-Question For questions or discussion Resolution-Answered Related to questions that have been answered and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Apr 22, 2020
@edyu
Copy link
Author

edyu commented Apr 22, 2020

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Question For questions or discussion Needs-Tag-Fix Doesn't match tag requirements Resolution-Answered Related to questions that have been answered
Projects
None yet
Development

No branches or pull requests

2 participants