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

大谋儿 1年前 知识探索 阅读 3072

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

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

 

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

set-ExecutionPolicy RemoteSigned

键入Y或者A,同意

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

显示RemoteSigned,表示成功

最后更新:2025-05-29 15:51:30
分享到:

评论 (0)

发表评论

验证码