This is a feedback/suggestion issue following some Twitter conversations about the notice presented every time a PowerShell prompt is opened on Windows. I hope this is helpful. A ton of awesome work has gone into PS Core and I'm not trying to rag on that at all. My only goal is to improve the acquisition experience for users - if we can't ship in-box then we should lower the bar as much as possible to increase adoption as much as possible.
Here's what a user sees when launching (in Windows slow/fast ring builds):
I want to call out a few specific inconsistencies and built-in assumptions of the process that follows here not as criticisms of massive effort involved, but simply advising on gaps that should get love for broader adoption and fewer user issues. Here's what a user goes through:
aka.ms
link, which would be better for automating installs and such anyway, e.g. aka.ms/pscore6-windows-latest
(more below)microsoft.com
behind a stable aka.ms
link?download.visualstudio.microsoft.com
)https://aka.ms/ps/latest/windows
(so that the terminal text that ships more slowly need not change) and possibly https://aka.ms/ps/7/windows
for specific major versions to accompany it, for handy use by those here, Chocolatey, etc. and scripting for larger environments.Anyway - I hope we can improve the experience for all users here and hope some of this helps. I do appreciate all of the PS Core work thus far - we're using it in builds for OSS across platforms and more. It's been a huge time saver.
/cc @joeyaiello @SteveL-MSFT @sdwheeler for information
We also need to update the message to not be version specific
with respect to the how it works today steps 3 to 6 - I just teach folks to download the Install-PowerShell script from GitHub.
I know there are loads of very cool one-liners to do this, But here is a more workmanlike and hopefully clearer version of what I use:
New-Item -Path C:\Foo
Set-Location -Path C:\Foo
$URI = "https://aka.ms/install-powershell.ps1"
Invoke-RestMethod -Uri $URI |
Out-File -FilePath C:\Foo\Install-PowerShell.ps1
C:\Foo\Install-PowerShell.ps1 -UseMSI -Quiet
For the brave, you can specify the preview or even the daily build (not for the faint-hearted).
Once downloaded, one can then just rerun it (eg to install a new daily build).
Suggest to add feedback link in error prompt。
We also need to update the message to not be version specific
We already use https://aka.ms/powershell
Official product documentation for PowerShell
The link in WinPS should go to a landing page helping Windows PowerShell users migrate to PowerShell 7. We'll work on this content after GA since any changes we make in WinPS won't show up to users for awhile due to Windows release cycle.
Most helpful comment
The link in WinPS should go to a landing page helping Windows PowerShell users migrate to PowerShell 7. We'll work on this content after GA since any changes we make in WinPS won't show up to users for awhile due to Windows release cycle.