Trying it on worksation under Windows 11 Pro x64, and VM under Windows 10 Pro x64.
Workstation:
Product: PowerShell Studio 2022 (64 Bit)
Build: v5.8.207
OS: Windows 10 Pro (64 Bit)
Build: v10.0.22000.0
VM:
OS: Windows 10 Pro (64 Bit)
Build: v10.0.19044.0
A product error log at:
C:\Users\[User]\AppData\Roaming\SAPIEN\PowerShell Studio\ErrorLog.txt
is empty (doesnt exist).
>> Running (*.ps1) Script... >> Platform: V5 64Bit (STA) ERROR: Cannot initialize PowerShell engine *** PowerShell Script finished. *** >> Execution time: < 1 second >> Script EndedWindows Powershell logs look like that:
Engine state is changed from None to Available. Details: NewEngineState=Available PreviousEngineState=None SequenceNumber=17 HostName=PrimalScriptHostImplementation HostVersion=3.0.0.0 HostId=e8e4d96a-7c63-48cc-9734-df8411692ac2 HostApplication=C:\Program Files\SAPIEN Technologies, Inc\PowerShell Studio 2022\Debugger64\scriptdriver64.exe -noprofile -V5 -p 34541 -d C:\Users\*\Desktop\powershell\oneliners -e PoshHostSTA -s C:\Users\*\Desktop\powershell\oneliners\convert-to-diff-numbers.ps1 EngineVersion=5.1.22000.613 RunspaceId=f338b5d7-73e3-40d3-a30b-89328ae063be PipelineId= CommandName= CommandType= ScriptName= CommandPath= CommandLine=At the same time trial version of SAPIEN Powershell Studio 2020 was worked without any problems on the same computers.
Product: PowerShell Studio 2020 (64 Bit)
Build: v5.7.172