Powershell Script not Digitally Signed? Here is how to fix this.

When you run a .ps1 Powershell script you might get an error message stating “.ps1 is not digitally signed. The script will not execute on the system.”

In order to fix this, you have to run the command below to run Set-Execution Policy and change the Execution Policy.

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

This command sets the execution policy to bypass for ONLY the current PowerShell session. After the window is closed, the next PowerShell session will run scripts with the default Execution policy “Bypass”. This means none of the scripts run in the future irrelevant of signature status shall be blocked or generate any error.

And that shall fix your “Powershell Script not Digitally Signed” conundrum.

Leave a Reply

Your email address will not be published. Required fields are marked *

PHP Code Snippets Powered By : XYZScripts.com