Remove Powershell 5.0 from the dynamic profiles #7534

Closed
opened 2026-01-31 01:06:21 +00:00 by claunia · 2 comments
Owner

Originally created by @edyu on GitHub (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.

Originally created by @edyu on GitHub (Apr 22, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none 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 <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> 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 <!-- What's actually happening? --> The Windows PowerShell option is always the last option and there is no way to hide it or remove it.
claunia added the Issue-QuestionNeeds-Tag-FixResolution-Answered labels 2026-01-31 01:06:21 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Apr 22, 2020):

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 commented on GitHub (Apr 22, 2020): 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. ```jsonc { /* Windows PowerShell - hidden */ "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "hidden": true } ```
Author
Owner

@edyu commented on GitHub (Apr 23, 2020):

Thank you.

@edyu commented on GitHub (Apr 23, 2020): Thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7534