请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies
windows系统上禁止了运行脚本。 有关详细信息, 请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies 开始菜单右键或者win+X打开PowerShell(管理员) set-ExecutionPolicy RemoteSigned 键入Y或者A,同意 执行get-executionpolicy查看是否更改成功 显示RemoteSigned,表示成功