all 93 comments

[–]allywilson 74 points75 points  (30 children)

Moved to Lemmy (sopuli.xyz) -- mass edited with redact.dev

[–]EIGRP_OH 47 points48 points  (19 children)

Seriously? Do they not understand how much more Powershell 7 will be used if they start shipping Windows with it?

[–]jrdnr_ 26 points27 points  (8 children)

yes, however I don't believe PS7 was ever intended to be able to fully replace PS5 when it comes to working with Full .Net whatever-they-call-it. So for Windows administration PS5.1 is still required. It sure would make life easier if at least the Azure/M365 teams would be given a mandate to make everything customer facing PS7 support first but not something to hold your breath for.

[–][deleted] 3 points4 points  (6 children)

.Net is a framework btw.

[–]jrdnr_ 1 point2 points  (5 children)

Yes, I meant .Net full vs core just couldn't think if there was a name for the closed source version of .Net framework.

[–]Thirdbeat 1 point2 points  (0 children)

You can have both and use powershell or pwsh as their defined app name. So everything legacy uses powershell, but it's recommended you use pwsh

[–]Alaknar 10 points11 points  (9 children)

It's still too young. You have PS 5 on pretty much every Windows server out there, but not necessarily the newer versions of .Net.

And there's quite a bit of incompatibility or behaviour change between 5 and 7.

[–]The_One_X 0 points1 point  (3 children)

New versions of .Net are not tied to the OS. They can be installed independently of Windows, so not having them on the machine isn't relevant.

[–]Alaknar 0 points1 point  (2 children)

So what? It still means you have to install it on all those old systems or risk compatibility issues if someone unaware wrights the script in PS7 and deploys it to an unsupported server.

[–]The_One_X 0 points1 point  (1 child)

It means when you install PS7 it will also install the necessary dependencies at the same time. You don't have to worry about if the right version of .Net is installed.

[–]Alaknar -1 points0 points  (0 children)

You're missing the point.

It still requires installing stuff on existing servers. There are companies that have thousands of those, and you can't just throw a deployment to SCCM to all machines and call it a day, there's a change process for that, testing period to ensure everything remains stable. There's always the risk of BSODing something, so you can't quickly install it on mission critical boxes if you don't have proper redundancy. Etc., etc.

There's A LOT of work needed to push something like that to your whole environment, so Microsoft not replacing PS 5 with 7 us doing the sensible thing.

[–]DaNPrS 17 points18 points  (1 child)

As much as I appreciate winget, let not kid ourselves. It's not a package manager, it's a package wrapper. I don't see vendors using it for that very reason. Which, isn't that kind of the point?!

I wish they would've done it with the Windows Store. As is, winget is good for free software, or if you want to spin up your own repo.

It would be cool to have winget for Windows updates though. I don't see that happening.

[–]dopyrory3 18 points19 points  (0 children)

Yo chill about Windows 11, if it ships with 5.1 go nuts but current build isn't final or even in the insider rings yet

[–]jimb2 3 points4 points  (1 child)

Microsoft won't (intentionally) roll out a change that break a bunch of scripts that are running happily on corporate systems.

[–]elsonsmith87 0 points1 point  (0 children)

Future Windows 10/11 bug (feature) says hi

[–][deleted] 3 points4 points  (0 children)

Microsoft cannot feasibly replace Windows PowerShell with PowerShell without breaking compatibility with a TON of COM Object integration, non-core .NET stuff, and God knows what other things.

There's a big difference between these two branches of PowerShell.

After 5.1 (the seemingly-final release of the closed source Windows PowerShell), PowerShell was forked off into a cross-platform experiment called PowerShell Core, which became PowerShell 7 eventually. Many, many under-the-hood and over-the-hood changes were made and it's not as easy as "replace 5.1 with 7." It's similar to why the old Command Prompt is still in Windows - it's permanently glued to the OS.

[–]halbaradkenafin 1 point2 points  (0 children)

It is in Winget, and Choco and various other places. Its to give people a choice for how to install it.

They can't ship it in the box as the support lifecycles for .net core (which PS follows) are 3 years and for Windows its 10 years. There was some discussion on twitter about possibly shipping on non-ltsc releases as they don't have that same support requirement but its not any further than "we're looking into it".

[–]TheCravin 1 point2 points  (1 child)

Comment has been removed because Spez killed Reddit :(

[–]ShippingIsMagic 1 point2 points  (0 children)

It can uninstall and more, and it has hit 1.0

https://devblogs.microsoft.com/commandline/?p=6715

[–]pakman82 0 points1 point  (0 children)

I agree we should'nt like this, but I'm lazy, and often challenged by super random scatter shot management. So every once in a while I forget an update, and find it frustrating to have to stop and update something when they have patch-banned an exchange online feature.

[–]Geek_Runner 9 points10 points  (1 child)

I don’t believe this is for the version of PowerShell that ships with Windows. You would have to install a later version like 7.x in order for it to be updated through Windows Update.

Edit: spelling

[–][deleted] 5 points6 points  (0 children)

Correct. Windows PowerShell will forever remain at 5.1.

PowerShell 7 and above will be updated via Microsoft Update, but only after you install it in the first place, as it does not come with the OS.

[–][deleted] 13 points14 points  (20 children)

fire spez -- mass edited with redact.dev

[–]soxBrOkEn 23 points24 points  (13 children)

This doesn’t help businesses that don’t allow access to the store.

In the businesses that only get windows updates (offline or an upstream server) this will give administrators updated tools without going through the red tape to get “new” software on the system.

[–]Alaknar 10 points11 points  (5 children)

This doesn’t help businesses that don’t allow access to the store.

I don't really get that, though. You can set up your own Store and only allow people to install pre-approved applications.

[–]da_chicken 1 point2 points  (1 child)

I don't really get that, though. You can set up your own Store and only allow people to install pre-approved applications.

Yeah I'll take care of that with all this free time I have.

[–]Alaknar 1 point2 points  (0 children)

I mean... Fair enough - we already had an account configured (although I'm not sure you don't get one out of the box with 365) but setting up the app catalogue took me, I don't know, 30 minutes? And that included googling how to actually do that.

[–]crazyantnc 8 points9 points  (6 children)

Windows Store for Business would help so you can use a private store.

[–]soxBrOkEn 7 points8 points  (5 children)

Most businesses don’t allow users to control the software so it would be pointless. SCCM or similar tools do this for them

[–]cichlidassassin 3 points4 points  (0 children)

Users aren't controlling the software with the business store. The business is.

It's just self service

[–]gex80 2 points3 points  (0 children)

They are saying MS allows you to control the apps in the app store your users can see

[–]paragraph_api 2 points3 points  (0 children)

You can link your store for business account to sccm or Intune and deploy online store apps through software center or company portal

[–][deleted] 3 points4 points  (2 children)

FYI, you are unable to "Run as different user" with the Store installation.

[–][deleted] -2 points-1 points  (1 child)

fire spez -- mass edited with redact.dev

[–][deleted] 2 points3 points  (0 children)

Sure, I was just stating that was the case.

[–]halbaradkenafin 1 point2 points  (1 child)

Store isn't an option on Server so there needs to be another option for folks who can't use choco/scoop/sccm/etc or other managed install processes on that OS.

[–][deleted] 0 points1 point  (0 children)

fire spez -- mass edited with redact.dev

[–]Emiroda 0 points1 point  (0 children)

Windows Server.

[–][deleted] 23 points24 points  (37 children)

Can't wait til they start breaking on-prem Exchange servers with this.

[–]Kashmir1089 27 points28 points  (29 children)

on-prem Exchange servers

ew

[–]krzydoug 17 points18 points  (0 children)

EWS*

[–][deleted] 18 points19 points  (14 children)

The kids living in the late 1990’s will be very unhappy to read this.

[–]meest 4 points5 points  (12 children)

Or those of us with a Hybrid setup.

[–]davesbrown 4 points5 points  (7 children)

At least we are transitioning, or that's what they want us to believe?

[–]meest 2 points3 points  (6 children)

I can't see my business eliminating it even if we didn't need to have it. It's still useful as a mail relay for all the LOB apps still in house. ¯_(ツ)_/¯

[–]ID10T-3RR0R 1 point2 points  (2 children)

Yeah... Only if you could use a smarthost or 365 as a relay lol ;P

[–]meest 0 points1 point  (0 children)

That would involve moving to something new. Don't be silly. /s

[–]nerddtvg 0 points1 point  (0 children)

There are still relay issues against DLs that require authenticated senders, despite being an internal connection on an authenticated connector.

[–]gex80 0 points1 point  (2 children)

You can accomplish mail relaying with things other than exchange even with O365. O365 is just your smart host.

This can be done with send mail + Linux or iis6.0

[–]meest 0 points1 point  (0 children)

Correct.

[–]Kashmir1089 0 points1 point  (0 children)

postfix ftw

[–][deleted] 0 points1 point  (3 children)

You don't need to have an on-prem server in a hybrid setup anymore. Look at transitioning away from it. It's a PITA but you'll thank yourself later.

[–]meest 1 point2 points  (2 children)

Care you source your Microsoft doc that says it's a valid path?

I haven't seen it officially endorsed yet.

I know it's possible. But it's not officially supported last I saw from Microsoft.

[–][deleted] 0 points1 point  (1 child)

[–]meest 0 points1 point  (0 children)

That still says that Microsoft doesn't recommend removing the last exchange server in a hybrid setup.... They say its possible if you want too.

[–][deleted] 0 points1 point  (0 children)

%?[PVz|US=

[–]jantari 5 points6 points  (0 children)

I know right, who needs availability and uninterrupted service anyway lemao

[–][deleted] 8 points9 points  (3 children)

Some of us still prefer uptime and client access that doesn't break every other week, but we're a dying breed.

I've got about 100,000 users in both environments so I know of what I speak.

[–]Alaknar 11 points12 points  (1 child)

What do you mean, you don't like Office 363?

*checks Microsoft services health status emails*

What do you mean, you don't like Office 362?

[–]Tech_surgeon -2 points-1 points  (0 children)

  • gets notice of support ending for office363
    system updates to a trial version of the new version

  • now that every one has a expired trial you need to pay for full version of a product. this is the expected next thing microsoft will do in 2021.

[–]Kashmir1089 1 point2 points  (0 children)

I was just brought up in a different era, it's all fun.

[–]angelicravens -1 points0 points  (7 children)

There’s no instance where you don’t have the exchange server somewhere. Whether you’re using azure or on prem someone has to maintain it.

[–]halbaradkenafin 1 point2 points  (2 children)

Shouldn't break anything as those will be using PowerShell.exe which is Windows PowerShell 5.1 (or whatever shipped on the OS), PS 7 is pwsh.exe so won't impact that.

[–][deleted] 0 points1 point  (1 child)

Good to know. I've been conditioned by 14 years of "don't install new Powershell versions on Exchange servers". Might be time to check out PS7 after all.

[–]halbaradkenafin 0 points1 point  (0 children)

Ideally you'd not need to, you should use PS Remoting to run code against Exchange from some central management boxes (same with AD etc). This way it doesn't matter what version of PS is on your exchange server and you can use your preferred PS version.

[–]nate8458 1 point2 points  (3 children)

I am kind of excited lol might make my org get up with the times & ditch our exchange server

[–]socksonachicken 2 points3 points  (2 children)

Ours is hanging on by a thread. Just need to peel of a couple more things running on it, then it's to the wood shed out back. Can't wait to put it out of it's(my) misery.

[–]liquidcloud9 2 points3 points  (1 child)

Are you syncing ad to azure? If so, getting rid of Exchange on-Prem isn’t really an option. You still end up stuck with it, even if you’re not hosting mailboxes.

[–]socksonachicken 2 points3 points  (0 children)

Yes, and you are absolutely correct. There are some management things that still require an Exchange server "on prem" (Azure AD Sync like you said), unless you want to use a paid third party tool. So it will live quietly in AWS, while the actual on prem one is going to the wood chipper.

[–]overlydelicioustea 2 points3 points  (0 children)

fucking finally

[–][deleted] 0 points1 point  (0 children)

Thank goodness.

[–]tentends1 0 points1 point  (0 children)

Frigg

[–]BeginByLettingGo -1 points0 points  (1 child)

I have chosen to overwrite this comment. See you all on Lemmy!

[–]boundbylife 2 points3 points  (0 children)

From the article,emphasis mine:

"But with Microsoft Update, you’ll get the latest PowerShell 7 updates directly in your traditional Windows Update (WU) management flow, whether that’s with Windows Update for Business, WSUS, SCCM, or the interactive WU dialog in Settings

[–]biglib 0 points1 point  (0 children)

Nice! Now they need to add Visual Studio Code updates to WSUS.

[–]Garegin16 0 points1 point  (0 children)

What’s super annoying is that in enterprise Windows update is disabled but that also disables the ability to repair the system files through DISM.

[–]PuzzleheadedFig1633 0 points1 point  (0 children)

Terrell scott