Powershell 7 or new instances of PS

Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
User avatar
Reddrgn2
Posts: 36
Joined: Wed May 23, 2018 6:13 am

Powershell 7 or new instances of PS

Post by Reddrgn2 »

Hi,

I am just wondering how does or will Sapien incorporate newer versions of powershell. Will products at some point have the option to build packages for powershell 6 or 7(new upcoming release)? I know there aren't a lot of environments that are using 6 but just wondering how changes like this will effect products. Yes, I am using powershell core 6.1 in a testing lab and all scripts or gui's created are created with PS v5, cause I know my production environment is using PS v5.

User avatar
Alexander Riedel
Posts: 7407
Joined: Tue May 29, 2007 4:43 pm

Re: Powershell 7 or new instances of PS

Post by Alexander Riedel »

It's going to be in a blog post some time soon, but since you asked....
Core 1.png
Core 1.png (288.45 KiB) Viewed 1937 times
Core 2.png
Core 2.png (182.93 KiB) Viewed 1937 times
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
Reddrgn2
Posts: 36
Joined: Wed May 23, 2018 6:13 am

Re: Powershell 7 or new instances of PS

Post by Reddrgn2 »

oh ok, so Sapien will update as the new versions come out. How long after the release will tools be updated to include them? I not really asking for a specific number of days after release but is the a grace period from the release date to allow to make sure isn't going to have issues with the release. Kind of like windows updates and they sometimes cause more issues than fixes. :)

User avatar
Alexander Riedel
Posts: 7407
Joined: Tue May 29, 2007 4:43 pm

Re: Powershell 7 or new instances of PS

Post by Alexander Riedel »

I cannot really say. We had a late start on this because .NET Core itself was quite buggy in the Windows Forms department. We are working on it now. In an ideal world, we would do a release of *some* PowerShell 7 support a a week or two after MS declares it final. But if we run into trouble, it can easily be a month or more. It all depends. We'd rather not release PowerShell 7 support rather than release it and then shrug and say "Yeah, sorry, not working, we know" :D
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
Alexander Riedel
Posts: 7407
Joined: Tue May 29, 2007 4:43 pm

Re: Powershell 7 or new instances of PS

Post by Alexander Riedel »

Oh and I should add that this does not mean Windows PowerShell 5.1 support is removed. That will of course stay.
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
Reddrgn2
Posts: 36
Joined: Wed May 23, 2018 6:13 am

Re: Powershell 7 or new instances of PS

Post by Reddrgn2 »

Ok thanks. I know core is not really replacing windows powershell, to many missing modules and cmdlets.

User avatar
brinkcm
Posts: 25
Joined: Fri Aug 21, 2015 12:28 pm
Location: Michigan

Re: Powershell 7 or new instances of PS

Post by brinkcm »

PowerShell 6 had those limitations, but PowerShell 7 does not. :)

User avatar
Alexander Riedel
Posts: 7407
Joined: Tue May 29, 2007 4:43 pm

Re: Powershell 7 or new instances of PS

Post by Alexander Riedel »

It doesn't really matter if there are differences or limitations. Many organizations will not allow updating or adding PowerShell 7 to their machines for quite some time. So we will keep supporting Windows PowerShell 5.1
Alexander Riedel
SAPIEN Technologies, Inc.

jvierra
Posts: 14481
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Powershell 7 or new instances of PS

Post by jvierra »

PowerShell 7 still has some mismatches with PowerShell 5.1. It will take until 7.1 to get this addressed. MS needs to get this widely used to uncover issues and also it is needed inmany cross-platform issues.

Packaging is an issue for anyone packaging anything cross-platform. There is no single tool that can do this well. I worked with one of these decades ago that promised to make C portable across platforms including across GUIs. The product was a nightmare and only made things harder by promising programmers that they could easily compile code for Windows, Unix IBM and other platforms. PowerShell stands a better chance of working without most issues.

I suspect we will get there soon since PS 7 is open source and is moving ahead very efficiently.

Locked