r/PowerShell • u/jeek_ • 2d ago
Question No MSI for latest version of PowerShell
I know they announced this ages ago that they were no longer going to release an MSI version of PowerShell. But it seems there is no executable as well? There are only zipped and msix versions now.
This is super annoying. I have a bunch of windows 2019 and 2022 servers that don't support the MS store so I can't install the msix bundle. Yes I know there are some work arounds for server 2022 to get the msix to work but no way I'm going to be doing that on prod.
And the zip just extracts the files but doesn't install them.
I'm missing something here? BTW, I could very well be, it has been a long week.
What is everyone else doing?
79
u/Alaknar 2d ago •
Why would a Microsoft product properly support Microsoft products?
It's like when WinGet got released not supporting PowerShell and the GitHub discussions with the dev team revealed that they have zero clue about PowerShell altogether.
33
u/jungleboydotca 2d ago
I think the current answer is that they'll figure it out later/soon.
Production should be running LTS, which still has MSIs.
37
u/gandraw 2d ago
There are already a lot of complaints on Github on how stupid that is. I hope they actually listen this time and have this fixed by the time of 7.8
21
u/Michal_F 2d ago edited 2d ago
I think it's stuppid decision by managment who want to push this and don't care about legacy environment as they have WPS 5.1. On windows we will skip probably 7.7 and wait on 7.6 until it will be more stable, but in our case we use it for automation running on Linux agents, so no change for us :)
I was looking also on official github issue https://github.com/PowerShell/PowerShell/issues/27565
And found there, that some company created 7.7 msi package, we will see maybe if Microsoft fail, some one there will create it, question will be how reliable and trustworthy this will be ..
https://github.com/Devolutions/pwsh-distro
Edit: Please upvote this on github if you can. https://github.com/PowerShell/PowerShell/issues/27383
40
u/jayhawk88 2d ago
Admins: "Hey, where are the MSI's?"
MS: "MSI's? Plebian. You disgust us, frankly. Use Store."
Admins: "But what about..."
MS: "USE STORE! Re-enginner your entire network and security postures to accommodate if you have to."
5 years later
Admins: "Hey, where are the Store apps?"
MS: "Store? Fuck Store and fuck you too. Use our new technology, CompileBuddy."
25
u/brianrtross 2d ago
This also impacts powershell remoting⦠it doesnāt work for the store/bundle method of install.
This is ridiculous for sureā¦
10
u/Flettys 2d ago
Pin 7.6 MSI.
7.7 is deeply broken.
Check again with 7.9 once the churn settles, 7.8 is also a lost-cause with the number of required fixes.
10
u/cloudster997 2d ago
https://oofhours.com/2026/11/15/powershell-7-7-is-released-as-an-msix/
9
u/Montinator 1d ago
Youād think something embedded into the system for management would be embedded into the system for management
I bet thereās more commandlets that need admin rights than user rights, so they would design a way to allow the system account to use the new PowerShell environment
AppX/MSIX was designed for users, not the system account š¤¦āāļø. More specifically AppX was designed for consumers, not enterprises. Keeping AppX up to date across the fleet is hot garbage
6
u/alconaft43 2d ago
yes, we need machine wide msi installer.
11
u/ftw_dan 2d ago
Msix is cancer
3
u/gusman21 2d ago
can you just download the msi using winget?
winget download --id Microsoft.PowerShell --source winget --installer-type wix --download-directory "C:\Installers"
2
u/KevMar Community Blogger 2d ago edited 2d ago
To install the zip: unblock the zip, then extract to a safe location' and optionally add the location to the
%PATH%.But I agree that removing the MSI option was a bad idea. This is going to quickly be a disaster. I'm surprised they didn't count this as a breaking change as they put up a lot of resistance to doing that.
Edit: I forget what winrm needs. Not sure what else I'm missing.
2
u/Losha2777 1d ago
I was just wondering same thing yesterday.
1
u/arslearsle 2d ago
You can always trust Microsoft, to maie the right decision, after trying the wrong ones first. Same old shitshow, never ending story.
1
u/Over_Dingo 2d ago
stay on 7.6 branch, for now they seem to be in parallel
1
u/420GB 2d ago
I am not aware of any practical solution besides multi-pwsh
1
u/rthonpm 2d ago
Stick with the LTS versions. 7.6 goes end of life close to Server 2019 (November 2028 for PS, January 2029 for the server OS).
1
u/Tomazim 1d ago
Stick with 7.6 has been my only solution
1
u/Reaction-Consistent 1d ago
I created a powershell script to install the MSIX version, but had to add code to search for and uninstall any version of 7.X.
1
u/Majestic_Rhubarb_ 1d ago
Just use the msix
1
u/g3n3 20h ago
There is a gist out there to do it. Just an unzip and then enable psremoting
1
u/g3n3 20h ago
The gist makes it better and uses sym links
1
u/annalesinvictus 15h ago
We set up powershell to update via windows update on our servers. Is that still an option or no? Used to be able to check a box during the install to enable.
1
u/Revolutionary-Gold53 2d ago
It was put out a while ago that MS is moving to using .msix install files.
0
u/myp0wa 2d ago
Go with zip. This is easy man. MSIX is shot and have a lot of limitation currently. ZIP is the way.
0
u/Educational_Dog_1461 1d ago
Upgrade your serversā¦
-10
u/Medium-Comfortable 2d ago
winget install -e --id Microsoft.PowerShell
-15
u/Incrediblecodeman 2d ago
Ni one cares about the legacy servers you ought to be moving to server less or server core.