Support For Powershell 4 & 5

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 LICENSE NUMBERS, ACTIVATION 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.
This topic is 7 years and 2 weeks 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
dac_sc
Posts: 1
Last visit: Fri Mar 15, 2019 5:05 am

Support For Powershell 4 & 5

Post by dac_sc »

Product, version and build: Powershell Studio 2016 Build 5.2.121.0
(*** Please do not write "latest" as a version, specify a version number ***)
32 or 64 bit version of product: 64
Operating system: Windows 7
32 or 64 bit OS:64
PowerShell Version: Version 5 installed on computer.

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

This has probably already been covered but I can't find the answer. How do I get Studio to recognize (and compile) PS 5? I'm only showing PSVerson 2.0.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: Support For Powershell 4 & 5

Post by davidc »

You have an active subscription; is there a reason you are using 2016 version instead of latest build of 2017?

If you recently install a new version of PowerShell you will need to run the RegisterControls.exe tool, which is located in PowerShell Studio directory.

https://www.sapien.com/blog/2013/02/25/ ... owershell/

After registering the control, you will need to rebuild the cache using the ribbon button:
Refresh Cache.png
Refresh Cache.png (33.03 KiB) Viewed 810 times
Then you should be able to select V5 from the platform list in the ribbon.
David
SAPIEN Technologies, Inc.
This topic is 7 years and 2 weeks 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.