Enabling Script Execution on System | Changing Execution Policy in Powershell
- Launch a Windows PowerShell window
Note: Run Power Shell as an administrator. - Go to the location where the script is located.
- In the PowerShell window, enter
set-executionpolicy unrestricted
. The system will prompt to confirm the change. Enter the letter Y or press the enter key to change the execution policy setting. - Type "Y" to allow.
- And update begins! :)