Install PSv6 into PowerShell Studio 2019

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
gulmiguel
Posts: 14
Joined: Mon Mar 10, 2014 9:35 am

Install PSv6 into PowerShell Studio 2019

Post by gulmiguel » Mon Nov 25, 2019 8:41 am

I've gone through several forums attempting to search for guidelines in getting PSS 2019 to run PowerShell v6. I've seen in some posts that the functions are compatible. However, I haven't been able to locate anything which provides steps on installing PS v6, so that it runs as v6 in PSS. Can anyone help me or direct me to the correct place to learn the process? Yes, I'm still quite a noob, but I'm trying to get to the point that my only scripting environment is rooted here in PSS 2019 - meaning that I'm using PSS instead of the PS ISE. With PSS, since I have the entire DevOps suite, I don't have to do as much shifting and searching back and forth between applications. Sapien DevOps suite is considerably more streamlined and is a wonderful base to start from. I apologize for troubling y'all with this, but I'm just trying to figure out the best way to keep my PowerShell environment uniform throughout versions, profiles, etc. Thank you in advance for whatever assistance you can provide.

gulmiguel
Product, version and build: PowerShell Studio 5.6.170
32 or 64 bit version of product: 64 bit
Operating system:
32 or 64 bit OS: Windows 10 Enterprise 64-bit

User avatar
brittneyr
Site Admin
Posts: 235
Joined: Thu Jun 01, 2017 7:20 am

Re: Install PSv6 into PowerShell Studio 2019

Post by brittneyr » Mon Nov 25, 2019 10:03 am

PowerShell Studio will automatically recognize once you have PowerShell 6 installed. The latest powershell can be downloaded from here:
https://github.com/PowerShell/Powershell

From there, you should be able to see it in the dropdown menu on the ribbon (Home->Platform):
SPS-Platform.png
SPS-Platform.png (22.59 KiB) Viewed 442 times
For the Console panel, you will need to go to Options->Console and reset the default consoles:
SPS-ResetConsole.png
SPS-ResetConsole.png (36.88 KiB) Viewed 442 times
This will give you the option to select the PowerShell 6 in the dropdown menu in the Consol panel:
SPS_ConsolePlatformpng.png
SPS_ConsolePlatformpng.png (43.17 KiB) Viewed 442 times
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
gulmiguel
Posts: 14
Joined: Mon Mar 10, 2014 9:35 am

Re: Install PSv6 into PowerShell Studio 2019

Post by gulmiguel » Mon Nov 25, 2019 11:31 am

MEGA-THANK YOU!!! That did the trick. I'm so happy that you were online today to answer that question. Next time, the beers are on me!! :)