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

Installing Powershell Core prevents Windows Powershell to be launched from the address bar of Windows Explorer #8588

Closed
leoniDEV opened this issue Jan 3, 2019 · 3 comments
Labels
Issue-Question ideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a Resolution-Answered The question is answered.

Comments

@leoniDEV
Copy link

leoniDEV commented Jan 3, 2019

Steps to reproduce

Install Powershell Core 6.2.0-preview.3 on a Windows Machine,
open an arbitraty folder in Windows Explorer and type powershell in the address bar

Expected behavior

run powershell with the pwd sets to the folder opened in Windows Explorer
powershell


Actual behavior

Open the $Home\Documents\Powershell folder in Windows Explorer
pswh


Environment data

Name                           Value
----                           -----
PSVersion                      6.2.0-preview.3
PSEdition                      Core
GitCommitId                    6.2.0-preview.3
OS                             Microsoft Windows 10.0.18305
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
@MaximoTrinidad
Copy link

@leoniDEV,

Just an FYI

If you type "pwsh", it work!

If you type PowerShell, and you have a PowerShell folder name, then it goes to the PowerShell folder.
If you want to open a Windows PowerShell Console, then you'll need to type "PowerShell.exe".

I don't think is a bug as typing powershell won't open PowerShell Core.

:)

@leoniDEV
Copy link
Author

leoniDEV commented Jan 3, 2019

The bug isn't that typing powershell in the address bar won't open Powershell Core, but to me the bug was that if Powershell Core is installed you can't run Windows Powershell typing powershell in the address bar of Windows Explorer.

Anyway this issue can be closed as now I know that need to add the .exe extension to run powershell

@leoniDEV leoniDEV closed this as completed Jan 3, 2019
@iSazonov iSazonov added Issue-Question ideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a Resolution-Answered The question is answered. labels Jan 19, 2019
@RobLOlson
Copy link

Thanks for documenting these work-arounds. Whether it's technically considered a bug or not, I'm kind of annoyed that installing PowerShell Core changed the default behavior of my OS......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Question ideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a Resolution-Answered The question is answered.
Projects
None yet
Development

No branches or pull requests

4 participants