返回

Powershell 脚本执行错误解决方案

解决在 Powershell 中运行脚本时遇到的权限问题
2022-06-22
164 字 · 约 1 分钟阅读

在Powershell中运行脚本出错,提示如下

  • Windows - Cannot be loaded because running scripts is disabled on this system

使用管理员权限启动PowerShell,并解除禁止运行脚本

set-executionpolicy remotesigned

留言

发表留言