PowerShell Studio 2018 uses old version of PowerShell

Use this forum to ask questions after your subscription maintenance expires or before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
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.
This topic is 5 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
chrischrischris
Posts: 2
Last visit: Mon Jun 04, 2018 11:20 am

PowerShell Studio 2018 uses old version of PowerShell

Post by chrischrischris »

To help you better we need some information from you.

*** Please fill in the fields below if you are currently using a Trial Version of the Product. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build:
64 bit version of product:
Operating system: Windows 7 Enterprise, SP1
64 bit OS: Windows 7 Enterprise, SP1

*** Please add details and screenshots as needed below. ***
I installed PowerShell 6.0.2 but PowerShell Studio 2018 uses old version of PowerShell.
How do I fix this?

New version is 6.0.2:
Target: "C:\Program Files\PowerShell\6.0.2\pwsh.exe"
Start in: "C:\Program Files\PowerShell\6.0.2\"

Old version is 5.1.14409.1012:
Target: %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe
Start in:%HOMEDRIVE%%HOMEPATH%



DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: PowerShell Studio 2018 uses old version of PowerShell

Post by davidc »

PowerShell Studio's internal host uses Windows PowerShell, but we will to add v6 support.

You can add PowerShell Core (v6) console in Options->Console. If you press the Reset button, it should detect the PowerShell Core installation.

For more details on customizing consoles, refer to the following article:

https://www.sapien.com/blog/2018/03/29/ ... hell-core/
David
SAPIEN Technologies, Inc.
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Re: PowerShell Studio 2018 uses old version of PowerShell

Post by Alexander Riedel »

Just to make this clear, Microsoft Windows PowerShell 5.1 is the official PowerShell version integrated into Windows.
It is the current version of Microsoft Windows PowerShell and fully supported.

PowerShell 6 or PowerShell Core is an open source project, based on Microsoft's PowerShell code. It is not a newer version of Microsoft Windows PowerShell.
It operates on the .NET Core framework, which at this time does not support Windows Forms, WPF or any other UI framework.
While we will do what we can to support PowerShell Core, there are some differences that will make some code not work, for example none of the user interfaces created with PowerShell Studio will run in PowerShell Core.
Microsoft has announced that it will add some type of UI support to .NET Core in the future, but we have no information on timing or extent.
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
chrischrischris
Posts: 2
Last visit: Mon Jun 04, 2018 11:20 am

Re: PowerShell Studio 2018 uses old version of PowerShell

Post by chrischrischris »

Thank you very much! That did the trick:

Code: Select all

PS C:\Program Files\SAPIEN Technologies, Inc\PowerShell Studio 2018> $PSVersionTable                      
                                                                                                          
Name                           Value                                                                      
----                           -----                                                                      
PSVersion                      6.0.2                                                                      
PSEdition                      Core                                                                       
GitCommitId                    v6.0.2                                                                     
OS                             Microsoft Windows 6.1.7601 S                                               
Platform                       Win32NT                                                                    
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                    
PSRemotingProtocolVersion      2.3                                                                        
SerializationVersion           1.1.0.1                                                                    
WSManStackVersion              3.0                                                                        
                                                                                                         
This topic is 5 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.