Powershell: Add PowerShell Core to the Microsoft Store

Created on 7 Sep 2018  ·  22Comments  ·  Source: PowerShell/PowerShell

This way, PowerShell Core can be updated automatically and can be used on Windows 10 in S mode.

Area-Maintainers-Build Resolution-Fixed

Most helpful comment

In the past, the Microsoft Store only supported sandbox'd apps so a shell in the Store doesn't make sense. More recently, I believe the Store supports classic apps that aren't sandboxed, so this is something we can look into.

All 22 comments

/cc @joeyaiello @SteveL-MSFT

Windows 10 in S mode doesn't run Powershell by design. https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-10-s-planning#what-is-blocked-in-windows-10-s

That said, why not for the rest of the world that doesn't run Windows 10 S?

Aye. If there's an issue with it being there for Windows S, surely it can just be listed as incompatible or something, or just run in constrained language only if run on Windows S.

Having it on the Store would be a great addition, giving it a supporting framework for delivering updates without a great deal of extra work... Assuming getting it on the store at all isn't an insane amount of work :)

In the past, the Microsoft Store only supported sandbox'd apps so a shell in the Store doesn't make sense. More recently, I believe the Store supports classic apps that aren't sandboxed, so this is something we can look into.

@chuanjiao10 - your comment is totally unwarranted on this thread as it shares no similarity in context to the ask the OP is making in this thread

Please in future look to keep comments on topic and not hijack other threads when not necessary

Asked for again in #9827

The good news is we already have msix builds. There's one issue that I wanted to get fixed before we publish to the store, but perhaps we can move forward and just relnote that limitation. I'll look into this next week (6.2.x will be first)

Considering we've had some newer msix builds that require you to be able to sideload apps is this something that is far off on the radar or is this a planned for 7 GA?

I'm planning on starting with Preview5. Wanted to publish Preview4 but our versioning didn't match Store requirements, so I've already made a PR to fix that.

Any news on this, now that the 7 version was released?

@rodrigoscna Steve recently tweeted this about store updates

https://twitter.com/Steve_MSFT/status/1235266800343871488?s=20

Twitter
“The #PowerShell7 msix/Store release is still pending but coming. Might not be this week.”

@kilasuit Great to know! Thanks!

looks like this has moved a little bit more now and is looking very hopeful https://twitter.com/Steve_MSFT/status/1295887521537118209?s=20

Twitter
“#PowerShell 7.1-preview6 has been submitted to the Microsoft Store. Will take a few days to get validated. Then we’ll see if it finally gets published.”

so, it's... done?

@pronichkin - I think that for preview yes we can say it is, but for the stable that'll hopefully happen for the 7.0.4 release (if there is one)

Stable will come later in the Store.

Hello! any updates on getting the new preview (p7) on the store? Pwsh is saying that there's a new preview release but it doesn't appear to be up on the store yet.

@Gnbrkm41 it can take up to 3 days from it being published to the store for it to be marked available for download from the store as per this tweet from @SteveL-MSFT earlier on https://twitter.com/Steve_MSFT/status/1303755418028523520?s=20

Twitter
@IISResetMe The "certification" step is a big black box, says it can take hours or up to 3 business days...”

Here is the direct link for anyone that wants it: https://www.microsoft.com/store/productId/9P95ZZKTNRN4

Microsoft Store
Download this app from Microsoft Store for Windows 10, Windows 10 Mobile, Windows 10 Team (Surface Hub), HoloLens. See screenshots, read the latest customer reviews, and compare ratings for PowerShell Preview.

Will the install path always have the version number it it? (i.e. C:\Program Files\WindowsApps\Microsoft.PowerShellPreview_7.1.6.0_x64__8wekyb3d8bbwe\pwsh.exe)
I like to use powershell core in my IDE's which would require fixed path to not break everytime there is an update.

image

@ChristopherHaws under the hood the reference used for the PowerShell Preview (Store) entry in the below Session menu screenshot will update seemlessly when the new versions of the store apps are installed
image

If you set this in your settings.json

"powershell.powerShellDefaultVersion": "PowerShell Preview (Store)"

that will then mean that it always uses the Store version & when that updates it will just work (as it just has for me & the latest update install)

@Gnbrkm41 it can take up to 3 days from it being published to the store for it to be marked available for download

@Gnbrkm41 it is now in the store :-)

Yep. Noticed it this morning. Thanks 😃

I reported this one yesterday:
Microsoft Store not updating to the latest version of PowerShell Preview #13615

:)

Was this page helpful?
0 / 5 - 0 ratings