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

New profile specifically for Power Shell 7 is not created after installing Power Shell 7 (7.4.6) #18365

Open
openglc007 opened this issue Dec 26, 2024 · 2 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@openglc007
Copy link

openglc007 commented Dec 26, 2024

Windows Terminal version

1.21.3231.0

Windows build number

Version 10.0.26100.2605

Other Software

Windows 11 24 H2 (build 10.0.26100.2605)
New profile profile specifically for Power Shell 7 is not created after installing Power Shell 7 (7.4.6) (manual installation of PowerShell-7.4.6-win-x64.msi), only three profiles there: command shell, Windows Power Shell, Azure CloudShell. Windows Terminal is at version 1.21.3231.0

Power Shell was installed into C:\Program Files\PowerShell\7 directory, msi packages was taken here: https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/PowerShell-7.4.6-win-x64.msi
No PowerShell Preview installed, it's the first installation of PowerShell 7

Steps to reproduce

manual installation of PowerShell-7.4.6-win-x64.msi)
Windows Terminal 1.21.3231.0

Expected Behavior

There should be a new profile specifically for Power Shell 7 after installing Power Shell 7 (manual installation of msi package)

Actual Behavior

New profile profile specifically for Power Shell 7is not created after installing Power Shell 7 (7.4.6)

@openglc007 openglc007 added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Dec 26, 2024
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@openglc007 openglc007 changed the title The new profile specifically for Power Shell 7 doesn't appear after installing Power Shell 7 (7.4.6) New profile specifically for Power Shell 7 doesn't appear after installing Power Shell 7 (7.4.6) Dec 26, 2024
@openglc007 openglc007 changed the title New profile specifically for Power Shell 7 doesn't appear after installing Power Shell 7 (7.4.6) New profile specifically for Power Shell 7 is not created after installing Power Shell 7 (7.4.6) Dec 26, 2024
@DHowett
Copy link
Member

DHowett commented Jan 6, 2025

When you relaunched Terminal, it should have updated the PowerShell profile to point to 7.4.6 and created a new profile for the older version.

This is to ensure that the "PowerShell" profile always points to the apparently-best installed version of PowerShell.

Can you share your settings.json/?

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

2 participants