Command not found does not detect PowerShell Preview properly #32891
Labels
Issue-Bug
Something isn't working
Needs-Triage
For issues raised to be triaged and prioritized by internal Microsoft teams
Microsoft PowerToys version
0.80.1
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Command not found
Steps to reproduce
Command Not Found does not seem to detect PowerShell Preview properly, so the log tells the user that PS is not installed, even though it is:
Bug report
PS: looking at the function, it seems that it tries to detect
pwsh-preview.cmd
, which is not present. The only thing present ispwsh-preview.exe
.Could this be the exact issue?
✔️ Expected Behavior
PowerToys detects the PowerShell Preview executable
❌ Actual Behavior
It throws the error as mentioned earlier
Other Software
PowerShell 7.5 Preview 2
The text was updated successfully, but these errors were encountered: