powershell script not digitally signed will not execute
PowerShell has four execution policies that are Restricted, AllSigned, RemoteSigned, and Unrestricted.
PowerShell is configured in “Restricted” execution policy by default. The Restricted policy will not allow any unsigned scripts to run. If you need to run a powershell script that is not signed then you need to change the policy powershell uses to “Unrestricted” . To do this run the below powershell command on the server that is having the issue.
Set-ExecutionPolicy Unrestricted