After migration to Windows 10 and PS 4.0 SQL PowerShell cannot be launched by SQL Server. SQL PS tries to load module SQLPS but the execution policy is set to "Restricted" at process level. Because manual setting of execution policy on this level is not made persistent there seems I don't see an workaround.
I tried to set variable PSExecutionPolicyPreference = RemoteSigned in the system environment. Standalone PowerShell friendly reflects that in its reports as a setting for "Process" scope. But in SQL PowerShell this is not used to override the "Restricted" value.
Any idea how to fix