此系统上禁止运行脚本无法加载,about_Execution_Policies

因为在此系统上禁止运行脚本无法加载文件XXX  有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies


管理员身份打开powershell

此系统上禁止运行脚本无法加载,about_Execution_Policies

执行  Set-ExecutionPolicy -ExecutionPolicy UNRESTRICTED