question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PS 7.1 not showing in Windows Terminal - Showing PS 7.0.3 Instead

See original GitHub issue

I am getting the Issue prompt shown in the attached image in the latest Windows Terminal when opening PS.

I have PS Core 7.1 already Installed. No Installation of PS 7.0.3 as I had already upgraded much earlier through Choco.

Not sure where this Issue is coming from. Pls help.

image

Environment data

Name                           Value
----                           -----
PSVersion                      7.0.3
PSEdition                      Core
GitCommitId                    7.0.3
OS                             Microsoft Windows 10.0.19042
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jhoneillcommented, Jan 7, 2021

get-process -id $pid | % path ?

Will tell you where the current powershell has come from

And open Windows Terminal Settings and have a look at the values for commandline.

1reaction
iSazonovcommented, Jan 7, 2021

You could use Task Manager to find a path to pwsh being started from Terminal.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Powershell 7 ISE not visible in windows 10
Hi Guys, I just installed PS 7. But i don't see Powershell 7 ISE in windows 10 . Do we have ISE for...
Read more >
How to install and upgrade to PowerShell 7.1
It's a bit silly that Microsoft says "the installation script is a short-term solution, until we add the functionality to Enable-PSRemoting" in ...
Read more >
How to Install and Update PowerShell 7
This blog post covers how you can simply install or update PowerShell 7 with a single command line One-liner. Check it out right...
Read more >
Installing PHP 7 and Composer on Windows 10, Natively
Open PowerShell or another terminal emulator (I generally prefer cmder), and type in php -v to verify PHP is working.
Read more >
Unanswered 'powershell-core' Questions
I have a PowerShell Core 7.0.3 on Ubuntu 18.04. When trying to install NuGet with the following command, it gives the error: PS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found