Install PowerShell using the MSI (x64) installer
Running pwsh should start Powershell.
'pwsh' is not recognized as an internal or external command, operable program or batch file.
Windows Server 2019 (1809, build 17763)
PowerShell v7.0-preview.6
PATH is set to C:\Program Files\PowerShell\7-preview\preview while it is installed in C:\Program Files\PowerShell\7-preview... that's one preview too many.
@jeroenlandheer which operating system are you using, and which version of PowerShell did you try to install?
@vexx32
OS: MS Windows Server 2019 (v1809, build 17763)
Version: version 7.0-preview.6
(I updated the original post)
@jeroenlandheer For previews of pwsh, you are supposed to use pwsh-preview to start the shell, not pwsh. There should be a pwsh-preview.cmd file in C:\Program Files\PowerShell\7-preview\preview.
This issue has been marked as answered and has not had any activity for 1 day. It has been closed for housekeeping purposes.