SyntaxFix
Write A Post
Hire A Developer
Questions
The command set-executionpolicy unrestricted will allow any script you create to run as the logged in user. Just be sure to set the executionpolicy setting back to signed using the set-executionpolicy signed command prior to logging out.
set-executionpolicy unrestricted
set-executionpolicy signed