How to Fix PowerShell Script Not Digitally Signed Error?
When a script with a .ps1 extension then it is a PowerShell script and when you run it, you might get the message saying “.ps1 is not digitally signed. The script will not execute on the system.”
To fix this error you have to run the command below to run Set-ExecutionPolicy and change the Execution Policy setting.
Script for fixing the error
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
This command sets the execution policy to bypass for only the current PowerShell session though and after the window is closed, the next PowerShell … Read the rest