Skip to content

pwsh-preview no work #19576

@pwsandoval

Description

@pwsandoval

Prerequisites

Steps to reproduce

When I run pwsh-preview, i get this message: pwsh-preview: The term 'pwsh-preview' is not recognized as a name of a cmdlet, function, script file, or executable program.

Screenshot_1

According to this, this is the method of starting a session of Powershell Preview:

pwsh-preview

When I use only pwsh, I got the 7.3.4 version:

Screenshot_2

So, I have to add something to my path (what path?)
Why was it not added on install (from the Microsoft Store)?

Expected behavior

Start Windows PowerShell Preview

Actual behavior

pwsh-preview: The term 'pwsh-preview' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Error details

No response

Environment data

Name                           Value
----                           -----
PSVersion                      7.4.0-preview.3
PSEdition                      Core
GitCommitId                    7.4.0-preview.3
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

No response

Metadata

Metadata

Labels

Issue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions