参看此教程 如何处理 Windows PowerShell 无法执行脚本?。通过管理员运行 PowerShell 执行下述命令,在提示中选择 ‘y’。 Set-ExecutionPolicy RemoteSigned