PowerShell on Windows 7: Set-ExecutionPolicy for regular users

后端 未结 3 1053
半阙折子戏
半阙折子戏 2020-12-04 14:16

I want to run PowerShell scripts on Windows 7 as a regular user. Whenever I try, I get the following error:

File C:\\Users\\danv\\Documents\\WindowsPowe         


        
3条回答
  •  清歌不尽
    2020-12-04 14:49

    This should solve your problem, you should try to run the following below:

    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser 
    

提交回复
热议问题