SetExecutionPolicy Unrestricted
Note also that PowerShell must be run as administrator.
Check out my Udemy course PowerShell for Systems Engineers exclusively on Udemy: https://www.udemy.com/course/powershe...
Check out my book, PowerShell for Systems Engineers on Amazon:
https://www.amazon.com/PowerShellSys...
GitHub: GitHub: https://github.com/jimrtyler/
Twitter: / jimrtyler