Fork me on GitHub

Windows 11解决PowerShell因为在此系统上禁止运行脚本。有关详细信息

Intellij Idea、VScode 等开发工具自带程序终端的时候会报出”系统禁止脚本运行的错误”。 解决 管理员身份运行Windows PowerShell 执行:get-ExecutionPolicy,显示Restricted,表示状态是禁止的; 12Restricted 禁止的RemoteSigned 允许的 执行:set-ExecutionPolicy ​ ...