Cannot instantiate PowerShell V7 object error when i run $PSVersionTable

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 1 year and 10 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
cjones@vcea.org
Posts: 2
Last visit: Thu Feb 01, 2024 9:32 am

Cannot instantiate PowerShell V7 object error when i run $PSVersionTable

Post by cjones@vcea.org »

To help you better we need some information from you.

*** Please fill in the fields below. 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: 5.8.206
Operating system: Win 10
PowerShell version(s): 7.2.3

*** Please add details and screenshots as needed below. ***
I get an error when trying to switch Powershell Studio to use PS 7. I installed the runtime andd PS 7 but i cant get it to work as I get

>> Running (testplay.ps1) Script...
>> Platform: V7 64Bit (STA)
Cannot instantiate PowerShell V7 object. Please verify that the desired PowerShell version is installed.The I/O operation has been aborted because of either a thread exit or an application request>> Script Ended



DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: Cannot instantiate PowerShell V7 object error when i run $PSVersionTable

Post by Alexander Riedel »

Do you have the .NET 6 Desktop runtime installed?
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 1 year and 10 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.