r/PowerShell • u/JazzlikePop5 • May 09 '26
Question powershell vs powershell version
i installed powershell 7 to test some commands and try to solve a start menu issue i had. i wonder why the terminal shows two "different" versions?
... EDIT ....
what I did, but didn't think or notice it's result was to first install it via winget command, thinking it didn't do anything I also downloaded the msi installer and installed a second version apparently.
I removed the manual install and now only 1 powershell 7 exists beside the v5. Thank you all.
12
Upvotes
View all comments
Show parent comment
3
u/temporaldoom May 09 '26 edited May 09 '26
I just managed to replicate it. I had powershell 7 installed by install-module. I then installed it from the MS Store and it now shows an additional version installed
If you go into the profile you'll see they have different paths
"C:\Users\(username)\AppData\Local\Microsoft\WindowsApps\Microsoft.PowerShell_8wekyb3d8bbwe\pwsh.exe"
"C:\Program Files\PowerShell\7\pwsh.exe"
If you type in the sessions $PSHOME, you'll probably see that they are different.