You need probably permissions. You'll probably choose the dangerous, insecure way around the problem and execute on PS as admin: set-executionpolicy remotesigned