当前位置:首页 > 知识探索 > 正文

请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies

简介windows系统上禁止了运行脚本。 有关详细信息, 请参阅 https:/go.microsoft.com/fwlink/?...

windows系统上禁止了运行脚本。

有关详细信息, 请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies

 

开始菜单右键或者win+X打开PowerShell(管理员) 

set-ExecutionPolicy RemoteSigned

键入Y或者A,同意

执行get-executionpolicy查看是否更改成功

显示RemoteSigned,表示成功

发表评论

  • 833人参与,1条评论
  • 2K影院 于 2025-10-27 07:34:50  回复
  • 很有看点!https://www.2kdy.com