Issue: Unable to run power shell script.
Error: Power shell script cannot be loaded. The file ... is not digitally signed. The script will not execute on the system.
Problem Statement: Trying to run script however getting above error message. Error message is clearly stating that power shell script cannot be load because file is not digitally signed.
Basically you may copied script from different computer. There Restricted exceution policy (the default) is likely to be in effect.
To run unsigned scripts that you write on your local computer and signed scripts from others users.
Run the following command let to allow run unassigned script.
You can use simple way to run the script.
1. Go to folder where Script is stored.
2. Right click on Script and say ‘Properties’.
3. In ‘General’ tab click on ‘Unblock’ button.
4. Click on ‘Apply’ and ‘OK’.
Now you run the script, you will not face any issues.