- Open PowerShell as an Administrator.
- Type Set-ExecutionPolicy Unrestricted.
- Press Enter.
- Type A.
- Run the PowerShell script.
- Once finished, type Set-ExecutionPolicy Restricted.
- Press Enter.
- Type Exit.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article